From patchwork Mon Feb 4 09:10:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10795195 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 9BAD613BF for ; Mon, 4 Feb 2019 09:10:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 879222AAB5 for ; Mon, 4 Feb 2019 09:10:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 859EF2ABB6; Mon, 4 Feb 2019 09:10:12 +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 2803C2AADB for ; Mon, 4 Feb 2019 09:10:11 +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=pJ6OPTddznNmsGD2wFRov/B1rbxoWn9BCvnfEZ5xgM8=; b=nH5kSSHUTXdolb WhY5I4B3fAi/i2Cryi2DbsoAJLRdTTo22i/n2qmyO4aiP622mdWB/dTFkrGZ3pw9cR3nGOeutp1JJ Z8chX5xgwU+ps+FYlnqSGehrTIpdM+IAP1i8UTy1j27op7LyD9xX2eQKG28hABQoBpjsf7fv/d8Kl bJsNQUrucQEKQD+ODPa4Nu+3tLMI86QltMIeB+WC9HQv0nBgR3E6DVohykN328l+YSnuTtz8RoPW0 jJ5hPk09H0rSOAsa5waBEvySQadfMwDiibRxDiTEUjuRwBO4W4QQRAZ7e4KgWM5aKtMFz5z6IMhZp aKIpfEwucM9ZE9GMlU6w==; 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 1gqaGX-0004oB-0m; Mon, 04 Feb 2019 09:10:09 +0000 Received: from mail-eopbgr150050.outbound.protection.outlook.com ([40.107.15.50] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqaGT-00040E-Bd for linux-arm-kernel@lists.infradead.org; Mon, 04 Feb 2019 09:10:07 +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=92FhkxR2k2N6UHpMDSv82Gx55fUz4fm2m5erdCvyWdc=; b=RfOEfc9YuYgRgsCNXSXSBkuju1dp35lIefs1Cc65/1H5j9EG4Ob5gsOz3nO72ACdgVAb7LXQw6/UYjNNpfM7ZeRpv8lq9UmZb0zx4Fd8ZY9lnGm724x8h4VNXQOGqzWwiYEtKRYAZlNkg3BhuTFXS6+Vc4NsBrkwEO7vp9cxbtY= Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2640.eurprd04.prod.outlook.com (10.168.66.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Mon, 4 Feb 2019 09:10:01 +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.1580.019; Mon, 4 Feb 2019 09:10:01 +0000 From: Pankaj Bansal To: Leo Li Subject: [PATCH v3 0/2] add qixis driver Thread-Topic: [PATCH v3 0/2] add qixis driver Thread-Index: AQHUvGloYp719U5yW0it7u7DV+gjxQ== Date: Mon, 4 Feb 2019 09:10:00 +0000 Message-ID: <20190204143449.25040-1-pankaj.bansal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::23) 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; VI1PR0401MB2640; 6:nRaAhPgsfPoQYiZQkQYRdK5h0EOIh1tmiPCQNsb3U0/8bqzbLyOWKxvEeqP6+Yetjug9MfyYti0QSfX3MLMwmCWVOTmrcLfLWy5Z+u4fq52vLB7kw3oSXWtFGH0jvsJhUUskKrvWqRGrXWfdvV9s3Aqiy/w4yK1/DdHKGZkwav+yqfzhSFMWhIlVHnUMQpNzxvAidFUkSM8xgNDO00Q3jvCbc+q2qtUB4BHHcDzQrhGjgqM1i8HdQOLfwouPVQwmQjozawiahXzi96BNcY8fVAdwcCfujFGLF0NoslZuyea65FU7BJdjG/vzdyhbMLiNtOBkiriss3MBndXuNVy4csNeT8tY2F0PVLTSy3UmAZhFqY2wGibbDG8sz4IWnaUJwOdEul5ymHUmkNclsh5c6cPl8NBe1pwaXxo1hObTgVoqE0L+Trcz6Mwx7ItHtm/lZkkOSew8NKp20FhqFdISwA==; 5:4Gu0Um57T1ln+47mah97jK3rCrbl4ZoU1xndNtk+JOh8xQDYtxClmKA13zju+7eeNjLqtQOd3c9xN2yANH4oDd7VTZ35sM3xSEYWq3kHQiUr+wvHPbqqGk4uydWnx6vlon3SahdH1czukVujvNCtXuTm5OYsiatvj0uQI8ZIFJkCdXinqdGiOuFZDcETrUnti/GDjyA6RcHAUsuZ8NIjUQ==; 7:4h10snF6xRfHsj6f/CQ1eq+LGI0M439lCciccWX4y8jNvMGKA0CAxnr28kUxJDff1eIO/P1Z3JGr4rLhXrJdjTY3t07rXdgfalgF+4RFqrgxC9dHwPbNSAtalg5wy2lvXg3mimkE1qMZykCVx3yKaQ== x-ms-office365-filtering-correlation-id: 13925d73-a175-4625-929f-08d68a808a98 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:VI1PR0401MB2640; x-ms-traffictypediagnostic: VI1PR0401MB2640: x-microsoft-antispam-prvs: x-forefront-prvs: 0938781D02 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(366004)(39860400002)(346002)(189003)(199004)(66066001)(37006003)(316002)(6636002)(36756003)(99286004)(2906002)(54906003)(6512007)(6306002)(53936002)(966005)(478600001)(14454004)(256004)(52116002)(6486002)(6436002)(7736002)(6506007)(386003)(102836004)(186003)(26005)(68736007)(105586002)(97736004)(106356001)(305945005)(3846002)(6116002)(486006)(8936002)(44832011)(50226002)(81166006)(81156014)(8676002)(476003)(2616005)(86362001)(6862004)(1076003)(25786009)(71200400001)(4744005)(71190400001)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2640; 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: H1QTit5qRX13y3IItJnL5kh1w3zUOnBle4w1vyVSR7D84O4kydLXAcPbhADf3fHlf7ARKRrMMwNnSnVeSJZAdPdQJn8W93gUeiIqTMM0SMmZT+cw2JKm9iv8UkIp9UM0/EZHZJ26f7GY8Yz3n8X+kHJm07npa69SSfIjPr8t7YthyFNDwnH/mxtSyTqlzQp2OiWJlbfwGwMMVXvDSnYC/rMQNsQNPGS4SpdTkS0DGPvyVwokIheagHz/w5zsPu+wVHa7F7RnIxgvt92WlbhI63bThG/0ZFETKGlk45FSeztIejq+b/MOdyzCjIE/N4Ta0tstPirUElQ2DcJFkkbPuaivQvEGh/C6AjhHpa1vMRBbP10I80f3F2Y06bvjkxo6byLp4PjKZIaneuMWkN97eAPLHABlpuky8B+Z2K/9PPE= Content-ID: <85281D6AD7A9FF4DB7E8D11AA684A809@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13925d73-a175-4625-929f-08d68a808a98 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2019 09:09:59.4166 (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: VI1PR0401MB2640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190204_011005_423414_BF1CBDD6 X-CRM114-Status: GOOD ( 10.45 ) 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. Also added platform driver for MMIO based FPGA, like the one available on LS2088ARDB/LS2088AQDS. 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 Cc: Varun Sethi --- Notes: V2: - https://patchwork.kernel.org/cover/10788341/ V1: - https://patchwork.kernel.org/cover/10627297/ Pankaj Bansal (2): dt-bindings: soc: fsl: Document Qixis FPGA usage drivers: soc: fsl: add qixis driver .../bindings/soc/fsl/qixis_ctrl.txt | 53 +++++ drivers/soc/fsl/Kconfig | 11 + drivers/soc/fsl/Makefile | 1 + drivers/soc/fsl/qixis_ctrl.c | 207 ++++++++++++++++++ 4 files changed, 272 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt create mode 100644 drivers/soc/fsl/qixis_ctrl.c