From patchwork Wed Jan 30 11:34:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10788341 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1F7AC6C2 for ; Wed, 30 Jan 2019 11:34:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0913D2E53D for ; Wed, 30 Jan 2019 11:34:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F145D2E6E0; Wed, 30 Jan 2019 11:34:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 761162E53D for ; Wed, 30 Jan 2019 11:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:Message-ID:Date :Subject:To:From:Reply-To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lJGKdcTe4uVLlOJmheWzllTI+TLi/CS8vbToXw3O3EU=; b=IPirymW2CaL8ge a3UPeJwXdbMTb4cFvlTzWDuj4My8HB/yBZzRERVqh6jtZ6qIyY9Ss9PmKE/hsjRb0ZS0ABXNnNk6/ ct2kYLbVIK/9sNu3uyYigiXVJ7Pvcs5Pn75R+opGai5grCCSQbE0iSYy3FuANRE+IgUI9ZX1OADni KwRlxWj20a6dMD2viMTOiMPvVKgUSTww0YUrA1PY2Hm1iyY+KTBIe2d0a4axkOZcTQ42iHOlhmode RJYI1N/2uNlcjkY1sJNzGMTmlGulZ74nlM20vTkYjkE7y0syt6Vq1mIEqsv2eQOBxJxE+wqzFPbSv YfsAEpvg7dTeQG1UwkPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1goo8f-0006MY-Vw; Wed, 30 Jan 2019 11:34:42 +0000 Received: from mail-am5eur02on060f.outbound.protection.outlook.com ([2a01:111:f400:fe07::60f] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1goo8b-0006LO-Mu for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2019 11:34:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wQD7LMeN7Qjv+VHZCoFCj8OgZVmUimKyTtPJzWnYZwo=; b=t+FrauO4F8FaMb15pI+oUoi+rA0URC+i8eMxi1TO/7hkv35pVsffcuDdNaRPht8a+kTavRJw/i2L91jJaH99/MHTldW1zbw3CNznIOkhDqmBeXPtryIYrnd41qUrC6qb9UbCISQY9w80XkMtKOYTF+pspxsG7m8/R6/44knahlM= Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2509.eurprd04.prod.outlook.com (10.168.65.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Wed, 30 Jan 2019 11:34:27 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe%8]) with mapi id 15.20.1558.023; Wed, 30 Jan 2019 11:34:27 +0000 From: Pankaj Bansal To: Leo Li Subject: [PATCH v2 0/2] add i2c controlled qixis driver Thread-Topic: [PATCH v2 0/2] add i2c controlled qixis driver Thread-Index: AQHUuI/CTtCFk0VeF0GnhkxMZRKU/A== Date: Wed, 30 Jan 2019 11:34:27 +0000 Message-ID: <20190130165916.8628-1-pankaj.bansal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0111.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::27) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [92.120.1.69] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2509; 6:eqZ9fBmF6tirHU3959QZYOF3xU0b1/c1uuBvc40IH0pZMnNQEhy3fuQk8Sgwhzvi2nB4PZYFvueZpgbMebGCiiJYG8gegm+zHxzkiANf8JhjBXfnjmcm0acTQ5ddcERvOV9mHySittTviGMsgdB+FYuavVtX+pHnvCfWg3dW7faXrOoj8JU5BWMvrnKf9VwZE/pHa0ZO2eG1VbfcFFG5SFCTNJDy3M7cDA/IMOLAvARt2fvBY5Y2qoLn/FqL64zgR8Ra4zk6ukpBJ1jh2O033mqjV3iaN00z7UOiZn3kHUoAyW/vJTYlLTdrr7x2aEFfstcphyJ/26rEbSqcpfG9nvoCWys/vXiISqPoUJLpAi4ufaAWBW9JaV425TmVAlxVUBV7gqfCUkVKtArB9uzd+KCHFligL+nqeakdQKxEUgbFlqFpsYJeX67dnj2wzMMadrL+0AGjnyT1nyKEwh5g0A==; 5:NVRURoyvK4edGMsAaoc6aXOnS30sRqbtBMXY9EF1uu6pRIuh5Xr+MV8jKKvF6Yr4lIEvzydSLG/ICYFW6Vsfizw7egY1bHspiY2tffvA6pLsI+lYVNsRbg+bDWxY5ot0uWvdz7r/+Kk4a6IxWtSjsxiexgxYyF+f05SW8c2VlZrrwDY6+4OccJAyldh1/+azC3f3K2aL/vNlMcq/AtAcdw==; 7:MqidzKXQ4nCa4ATqLnvzq6u6G/Nmy8vvweirX+v4xDpHRPPZssyjBX/6Rwjl5cYhB2uZEWVQQMOaMYJ7QugR5dWdh9LLUxD31OJO4H7OHUsToGPX4zEQxPwW8t7a0qAZ4GfQCDxAzz0a7YBF7KAOMQ== x-ms-office365-filtering-correlation-id: 060b202e-1dc8-4236-211f-08d686a6e43a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2509; x-ms-traffictypediagnostic: VI1PR0401MB2509: x-microsoft-antispam-prvs: x-forefront-prvs: 0933E9FD8D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(136003)(346002)(376002)(189003)(199004)(2906002)(105586002)(8676002)(478600001)(26005)(25786009)(97736004)(6636002)(54906003)(6306002)(106356001)(6506007)(386003)(3846002)(316002)(102836004)(966005)(37006003)(14454004)(81166006)(81156014)(6116002)(36756003)(6486002)(6512007)(256004)(50226002)(7736002)(44832011)(1076003)(71190400001)(4744005)(8936002)(68736007)(6436002)(66066001)(71200400001)(99286004)(86362001)(4326008)(186003)(53936002)(486006)(2616005)(6862004)(52116002)(476003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2509; H:VI1PR0401MB2496.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: E6npDNJHs0MhGhJzqqG2cGeDmz534QbMUkqL4rl1Ikr4udcN0QnIIPNUWBkKdXTWaSBXir2J2q6FUg45wK8fuh1ksDTZlcSh02ET6ZHTS281sGr1m+gCJsn5fVl6esVFYxi2ep6uxyvEa50ra0NFOxkwSPfA2wcKWfKJO+5OHUW7Pm5FmX9u22dXocosPuJd+yVAPUmSmhRpRpeaPoT1M24Wenb9BPWCkq1Aiv+A/42MtHS4MOHZEiH8keT3dCwsR+9uK7iQ9y9o9BELQZRqXF8E+xCqFrwCQ5hu2t4PJ47LlGMgjC+pmCo8flHGJcvwTETde681l9F945vYK0nEGDqj+19FlKICJXLWyHQgeZhSyuJr4sLT3YVkgZkFIJfGXmAh5f/oOQFwI4GYrRbzGlrXzjl1hL8wfmKBJpqGKto= Content-ID: <47D8698347954441A09E1102CF8FBAA4@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 060b202e-1dc8-4236-211f-08d686a6e43a X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2019 11:34:26.0274 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2509 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190130_033437_750701_9A48F1EB X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pankaj Bansal , "linuxppc-dev@lists.ozlabs.org" , Varun Sethi , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP FPGA on LX2160AQDS/LX2160ARDB connected on I2C bus, so add qixis driver which is basically an i2c client driver to control FPGA. This driver is essential to control MDIO mux multiplexing. This driver is dependent on below patches: https://www.mail-archive.com/netdev@vger.kernel.org/msg281274.html V1 of this series: https://patchwork.kernel.org/cover/10627297/ Cc: Varun Sethi Pankaj Bansal (2): dt-bindings: soc: fsl: Document Qixis FPGA usage fsl: add i2c controlled qixis driver .../bindings/soc/fsl/qixis_ctrl.txt | 33 +++++ drivers/soc/fsl/Kconfig | 8 ++ drivers/soc/fsl/Makefile | 1 + drivers/soc/fsl/qixis_ctrl.c | 121 ++++++++++++++++++ 4 files changed, 163 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt create mode 100644 drivers/soc/fsl/qixis_ctrl.c