From patchwork Fri Sep 28 05:25:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10618929 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 BB315913 for ; Fri, 28 Sep 2018 05:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A61512B137 for ; Fri, 28 Sep 2018 05:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 982E02B141; Fri, 28 Sep 2018 05:27:11 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 F014F2B137 for ; Fri, 28 Sep 2018 05:27:07 +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:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yaDNgv3n1hDxfscelbrDBDlI/D3s473u1dj4Jc3UJxM=; b=F5eevHTCvtaPp6 Y3v88pJHNyDFqpYeYj017GzFIk0XG0HlaDDRu4frlFW11lwdIfFPyemWvGXju6n1MS5wzzSLMfqzz dK0LTBrceMAXZJy7X+EH53cabfp+JwPXAkL0sPUKjkwHgf+X9MSJLJrFaU2S3RFSQV9x6jqEXWzvf 3CxDxHqYGjVVfDuJ68PtDO55qSZB455dBEjlwekOu8FCft4l1uPbMxUggAh0WTd4lEGW6YyeFT7ew TV4zxo+qeH6/Q+gDaKI52lVTypZ7lmWp4m94R8EJQaBTJx8J2Z75lPGdLLHkcAp66J//MTPcC4BU7 aLAy7PhqlCMat/q+tZ5w==; 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 1g5lIv-0008CN-5R; Fri, 28 Sep 2018 05:27:05 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5lHx-0007vk-GG for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 05:26:07 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8S5PTsg054842; Fri, 28 Sep 2018 00:25:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1538112329; bh=AEfsXMvy3cqdwmEUPDDQcp7lcq78C3iQ3zg71bqyr+U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lH1E2/oGmafLCXhTPj6/mo8jnx1xAmiGsP7EEkbjlF/7oBRR5yaU7eRwfTp4aCDKp O2tJhQCcurbGzNj+nyxij9Mcabb1+CJ3dMTYhQeS9G4RL6lYQuMlJbYBHu37VTSVEW TC+VVP4USCz4VkdGv/6H7tuI5+l5fQvyvvmHRgh4= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8S5PTxv013579; Fri, 28 Sep 2018 00:25:29 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 28 Sep 2018 00:25:28 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 28 Sep 2018 00:25:28 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8S5PMGp012173; Fri, 28 Sep 2018 00:25:26 -0500 From: Vignesh R To: Rob Herring , Wolfram Sang Subject: [PATCH v2 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs Date: Fri, 28 Sep 2018 10:55:56 +0530 Message-ID: <20180928052557.21663-2-vigneshr@ti.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928052557.21663-1-vigneshr@ti.com> References: <20180928052557.21663-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180927_222605_683930_311E98E2 X-CRM114-Status: GOOD ( 12.90 ) 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: Nishanth Menon , devicetree@vger.kernel.org, Vignesh R , Sekhar Nori , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Peter Rosin , 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 AM654 SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. While at that reformat the existing compatible list for older SoCs to list one valid compatible per line. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- v2: Reformat compatible existing compatible list. Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-omap.txt b/Documentation/devicetree/bindings/i2c/i2c-omap.txt index 7e49839d4124..4b90ba9f31b7 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-omap.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-omap.txt @@ -1,8 +1,12 @@ I2C for OMAP platforms Required properties : -- compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c" - or "ti,omap4-i2c" +- compatible : Must be + "ti,omap2420-i2c" for OMAP2420 SoCs + "ti,omap2430-i2c" for OMAP2430 SoCs + "ti,omap3-i2c" for OMAP3 SoCs + "ti,omap4-i2c" for OMAP4+ SoCs + "ti,am654-i2c", "ti,omap4-i2c" for AM654 SoCs - ti,hwmods : Must be "i2c", n being the instance number (1-based) - #address-cells = <1>; - #size-cells = <0>; From patchwork Fri Sep 28 05:25:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10618933 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 108B9112B for ; Fri, 28 Sep 2018 05:39:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF9142B14F for ; Fri, 28 Sep 2018 05:39:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3BC72B16F; Fri, 28 Sep 2018 05:39:05 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 595292B167 for ; Fri, 28 Sep 2018 05:39:01 +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:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DX3k0veOe99oz5yK8TNMohvU3xuMz7vKv4tS23C/P4w=; b=YDNEB8zbcKs4dY 7smo+WXu3IUK+AIj5lpk9FPjq6yP1E3W/XsdrTfSvNjU5tWvghHDvHCgi1bVrdxVtGDBDDzwuB78d 0BugAyHxw21/KHwKE994qhW3uUceRi8oaQ5JEYPcSOa4O6UAtx0zMg5tpXIL49G3IR3Lik+1j5Xqk aV9GBLrdcUP0JH9MFPx5yQY+LKCvopmkIKazrrdRErJnNTGPUh5HtIQRUlUWB+gm7TaHxrqr9phUs ZsPGPNjXYmQ7WDs/76Yblc7WZogViLkRyH/Ik4A/wsR/15znfCVSDMyaoqVKYuzL7cSa1RTCVd4M2 8/XWDyReIHl66C0WpSOw==; 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 1g5lUR-0004w5-KS; Fri, 28 Sep 2018 05:38:59 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5lI2-0007w9-5q for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 05:26:11 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8S5PWj7082269; Fri, 28 Sep 2018 00:25:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1538112332; bh=NLRj02OMBwITXtmwG4jSgw3v0Q6kE5+5CPGQ5jXyDno=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=V7Z/2+wl2Qsv9Lfu11JEXD0KebV4SrGjnaQVRDbiu+VJpPvZg8rOkyF4Ld0Bae9fm C25gNv3dgG4giwRgqbYmLa8Ya1qXAXkLPflPruhlR+yA+CVXrZq9eCRiUI6LI46VBc s2zEVXttBE2ivkTfLp01h/CO/obeA2iIzldUnbCY= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8S5PWJ8021578; Fri, 28 Sep 2018 00:25:32 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 28 Sep 2018 00:25:32 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 28 Sep 2018 00:25:32 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8S5PMGq012173; Fri, 28 Sep 2018 00:25:29 -0500 From: Vignesh R To: Rob Herring , Wolfram Sang Subject: [PATCH v2 2/2] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3 Date: Fri, 28 Sep 2018 10:55:57 +0530 Message-ID: <20180928052557.21663-3-vigneshr@ti.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928052557.21663-1-vigneshr@ti.com> References: <20180928052557.21663-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180927_222610_306538_BADCC61A X-CRM114-Status: GOOD ( 15.01 ) 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: Nishanth Menon , devicetree@vger.kernel.org, Vignesh R , Sekhar Nori , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Peter Rosin , 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 Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R --- v2: No changes drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 451d4ae50e66..ac4b09642f63 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -751,7 +751,7 @@ config I2C_OCORES config I2C_OMAP tristate "OMAP I2C adapter" - depends on ARCH_OMAP + depends on ARCH_OMAP || ARCH_K3 default y if MACH_OMAP_H3 || MACH_OMAP_OSK help If you say yes to this option, support will be included for the