From patchwork Fri Dec 21 10:30:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10740281 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 17F6F13BF for ; Fri, 21 Dec 2018 10:31:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0496D286B6 for ; Fri, 21 Dec 2018 10:31:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC719285A9; Fri, 21 Dec 2018 10:31:42 +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,FREEMAIL_FROM,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 76B5B286BC for ; Fri, 21 Dec 2018 10:31:42 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=KFIjuzgHbQwdwXIRJU3i84tL2nCXfbpmLDELe4h/CyE=; b=G6e 5rrLUji+djm+wBCzetgWjEHrKNuttHzWUJp5tXj5Bmvqi4xAEgDNGVaU7gUmhgozFlIE2/UuNMNDf j9yqSKxHKRCSgOT1ssWxl/P6LT6SlQPQnGVwzFUw8t3f2OSj2J8w4ZgN3ycrdEXvihiuRwvpMR0L7 53Xng6nvzce993Dsg8GOndLfj3Slzj9FqnnaSzJFqqN8GDzhGPf9WaTloCnJisyqbCctYkVOnuw2J 9PlMaYselZsCoPElH2qmLY3aZ3giZgH09i8mGFBa7CKrgMJgEUOrqBaFuKOsnsmQeMPT68QSQJqqN x+M/ioPXowMzvXFQXqKjq4KZxYl1KoA==; 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 1gaI5i-0004N7-Mx; Fri, 21 Dec 2018 10:31:38 +0000 Received: from smtp52.i.mail.ru ([94.100.177.112]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaI4j-0003W6-Lu for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2018 10:30:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=NsiIsagkvJbOHhYQFvI4ffjDtaVXfUjV3PkW3QR2bRk=; b=C7qZsZ4oD0FZu5unpd7M6n6tMowpzwS9LeRM0RPkYr1tT+vcNGcX+mQF7Kw1b8y5bAm9n3W1chj9qNPX46ciyrKBf6ZLgzPc4T3+IUJIxloShXz8HMzbXnIQozyV8XaLQDgR02K2L2QKpc0BIegb2UYYFApMamO1sQ3hbfJiT3k=; Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1gaI4T-0007db-W0; Fri, 21 Dec 2018 13:30:22 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/4] ARM: dts: clps711x: Remove skeleton.dtsi Date: Fri, 21 Dec 2018 13:30:16 +0300 Message-Id: <20181221103019.15374-1-shc_work@mail.ru> X-Mailer: git-send-email 2.13.0 Authentication-Results: smtp52.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: 2D1AD755E866B1545A78504BD2AC29419868B496DAF47A9FEFBD78D4602E738533F5AC807D9D4A7B17000A265A227AA4 X-7FA49CB5: 0D63561A33F958A5591D8864483065B8B22B7DB495E7256A643F35113B56AFB38941B15DA834481FA18204E546F3947C1D471462564A2E19F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B2EE5AD8F952D28FBA471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249E20791DD86E535D73AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE79C0DA0AD91AF617ECD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE7217D10A1E6374DE9EA51B706C899424F75ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E9B4DE5E4DD4446149DB1FD13B5CD75FF1FCB7861228910ADA6B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181221_023038_097981_E0BAF6A2 X-CRM114-Status: GOOD ( 11.11 ) 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: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Alexander Shiyan , Arnd Bergmann MIME-Version: 1.0 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 As explained by commit 9c0da3cc61f1233c ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"), including skeleton.dtsi is deprecated. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/ep7209.dtsi | 11 +++++++++-- arch/arm/boot/dts/ep7211-edb7211.dts | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi index aaf1261d2ee4..bcaf54221145 100644 --- a/arch/arm/boot/dts/ep7209.dtsi +++ b/arch/arm/boot/dts/ep7209.dtsi @@ -6,14 +6,17 @@ /dts-v1/; -#include "skeleton.dtsi" - #include / { + #address-cells = <1>; + #size-cells = <1>; + model = "Cirrus Logic EP7209"; compatible = "cirrus,ep7209"; + chosen {}; + aliases { gpio0 = &porta; gpio1 = &portb; @@ -26,6 +29,10 @@ timer1 = &timer2; }; + memory { + device_type = "memory"; + }; + cpus { #address-cells = <0>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/ep7211-edb7211.dts b/arch/arm/boot/dts/ep7211-edb7211.dts index bc9d5b697452..3475c7777cbc 100644 --- a/arch/arm/boot/dts/ep7211-edb7211.dts +++ b/arch/arm/boot/dts/ep7211-edb7211.dts @@ -12,6 +12,7 @@ compatible = "cirrus,edb7211", "cirrus,ep7211", "cirrus,ep7209"; memory { + device_type = "memory"; reg = <0xc0000000 0x02000000>; }; From patchwork Fri Dec 21 10:30:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10740275 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 5D6E613BF for ; Fri, 21 Dec 2018 10:30:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D09F285C3 for ; Fri, 21 Dec 2018 10:30:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F2E0285BA; Fri, 21 Dec 2018 10:30:46 +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,FREEMAIL_FROM,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 4B955286B4 for ; Fri, 21 Dec 2018 10:30: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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=7+jqw3fRi/RpOhMtto4dp0aSdE73rnafSaG2a6dRAys=; b=aUFZY7oMSWT1wT3BZZWmb1e9WF WkyebRrtuG5HRr9F+IAVeKXTT3bfXpTDbNIvdUCwL+eZfwtTSQfmvf2aHujLp14TUeLV4by7YiffE ak1gMUh2FXg3t8U7BY9Rh7awdxiKEsh4YEopIU6hl54qvEOWhY4/SH4khONuFfsvMlm6RG7VTAcbr IscrUoQhcFbHia+tRj40jtJyuZN+2bblbVOMtL2OU8JuQ1+Ypg1TREgANYoE0ICC/q2ahb1c0Ccdm yV+rSFhebfqBWlT6NEDDKIVTe6UqVQEyMh7Dw5jU80nR5ZVTYEiOeMI/GKlF6uXWB939j/5AmoEiS QVNuIbxw==; 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 1gaI4n-0003XZ-Ld; Fri, 21 Dec 2018 10:30:41 +0000 Received: from smtp52.i.mail.ru ([94.100.177.112]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaI4j-0003WA-La for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2018 10:30:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=he+JO+e0b7ckY/Bt34DdTtuB3kI+4ZafvjpaiOmeDjU=; b=OSJEFWcr/mM+jgpxnsRidW2lXpew8rSDVmm+wt1vpNbZ+Gidim1xPphiJzmvenQmjQoxBqtebsNmC/dx1GBWfdVwhoE1n80dBGMmJi+TmmTe8q0z6xePwmvt6riBISkwUSPISR0tXju6uR1vj44w8jQCt67s/xWx1CDzNmnSl6A=; Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1gaI4U-0007db-QQ; Fri, 21 Dec 2018 13:30:23 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM: dts: clps711x: rename uart device tree nodes Date: Fri, 21 Dec 2018 13:30:17 +0300 Message-Id: <20181221103019.15374-2-shc_work@mail.ru> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20181221103019.15374-1-shc_work@mail.ru> References: <20181221103019.15374-1-shc_work@mail.ru> Authentication-Results: smtp52.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: 0014004E1F3277295A78504BD2AC29419868B496DAF47A9FC13E8B01DAA0A770E967A830D59455C362F6C0DF2C2DBB0D X-7FA49CB5: 0D63561A33F958A5BF407F9698E026C5B22B7DB495E7256AD7BFC8E453A90EEC8941B15DA834481FA18204E546F3947CC2B5EEE3591E0D35F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BECADA55FE5B58BB7A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249DA33821E755670D83AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE72CE3825EE585899DCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE7DCBE8BAE9E61DE0A07070A87B953B59975ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E9B4DE5E4DD4446149E6D5D20F850E9ECBE9D6BBEAD5202E216B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181221_023038_092137_0E580DA9 X-CRM114-Status: GOOD ( 10.23 ) 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: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Alexander Shiyan , Arnd Bergmann MIME-Version: 1.0 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 Use generic names 'serial' for UARTs. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/ep7209.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi index bcaf54221145..48a1660a9cf2 100644 --- a/arch/arm/boot/dts/ep7209.dtsi +++ b/arch/arm/boot/dts/ep7209.dtsi @@ -22,8 +22,8 @@ gpio1 = &portb; gpio3 = &portd; gpio4 = &porte; - serial0 = &uart1; - serial1 = &uart2; + serial0 = &serial1; + serial1 = &serial2; spi0 = &spi; timer0 = &timer1; timer1 = &timer2; @@ -143,7 +143,7 @@ #pwm-cells = <1>; }; - uart1: uart@80000480 { + serial1: serial@80000480 { compatible = "cirrus,ep7209-uart"; reg = <0x80000480 0x80>; interrupts = <12 13>; @@ -166,7 +166,7 @@ reg = <0x80001100 0x80>; }; - uart2: uart@80001480 { + serial2: serial@80001480 { compatible = "cirrus,ep7209-uart"; reg = <0x80001480 0x80>; interrupts = <28 29>; From patchwork Fri Dec 21 10:30:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10740277 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 24780746 for ; Fri, 21 Dec 2018 10:30:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1433D285C3 for ; Fri, 21 Dec 2018 10:30:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08D11285E0; Fri, 21 Dec 2018 10:30:54 +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,FREEMAIL_FROM,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 C3B12285C3 for ; Fri, 21 Dec 2018 10:30:53 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=fpMFnxEkyU0r3kER7kUSxD5KepJnvxIFywZKN5gyomw=; b=VB3dPkdEeh8GOWufeitoawFpQi W7sBfRO0T1y+10SpIlBvXZLyuJUxVMd2+bHyhdSOi9oO9kPYZJppOjzqmCoQAKzjjtWM06dLVwv7+ kGR3RkIf0LTY79NFUZ+3l68tdF9XNZ9nvhTKFpacuTzUM40ALPymsbaTxz0mUJKDTYeMQBDuCbLfV 9QRm9IdXFda/N4o567rU9QgPqzPAxU6HhBWNMJOEe17DtYVMgzo1fPEtcD/TzoDVO42N5zn3S/KAG H34w8bLKqpRM3n7DZpxmgYlYhzVNfSYbclCm6ZSwpSyzSmIsc0g8ZEhe2t0AsONRVW4bE8PjOKKRj PaWBTx+A==; 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 1gaI4v-0003eX-5x; Fri, 21 Dec 2018 10:30:49 +0000 Received: from smtp52.i.mail.ru ([94.100.177.112]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaI4j-0003WE-LQ for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2018 10:30:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=wqpe4d9kG9Kkv3i1WbXGm+3XMVtnjkqfBZgrYacw+pQ=; b=davKJCtGkQXaM0zkeIL9GL0G+8AUygEZ3Dp6SCeVSPeKxn8oXjSdjxwIGhCydSuzmbDOtKG/LqxP4W2pmvLxr/lLS2xVWSAIzSDnoHausO18JBAoxXlaVPhF88gmuw04ojRJZ3yX0nVpwySEaCoT5DLIckgh/BVmnAVbUC0pmEQ=; Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1gaI4V-0007db-8l; Fri, 21 Dec 2018 13:30:23 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: clps711x: Add syscon phandle to device nodes Date: Fri, 21 Dec 2018 13:30:18 +0300 Message-Id: <20181221103019.15374-3-shc_work@mail.ru> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20181221103019.15374-1-shc_work@mail.ru> References: <20181221103019.15374-1-shc_work@mail.ru> Authentication-Results: smtp52.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: 6115F4D8777AF1675A78504BD2AC29419868B496DAF47A9F08ED325AB75B808BC1FF7E5F7721EC9B62F6C0DF2C2DBB0D X-7FA49CB5: 0D63561A33F958A586FCB78A0F755E9AB22B7DB495E7256A8D04890473460C928941B15DA834481FA18204E546F3947CC2B5EEE3591E0D35F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BECADA55FE5B58BB7A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249DA33821E755670D83AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE72CE3825EE585899DCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE7939D6621314C44ABA664B24FF5715BC2EFF80C71ABB335746BA297DBC24807EA27F269C8F02392CD20465B3A5AADEC6827F269C8F02392CD5571747095F342E88FB05168BE4CE3AF X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E9B4DE5E4DD44461499E1C17A7944253D9E8B451D53EC5A68A6B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181221_023038_088211_FC2ACD02 X-CRM114-Status: GOOD ( 11.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: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Alexander Shiyan , Arnd Bergmann MIME-Version: 1.0 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 This patch adds syscon based phandle to Cirrus Logic CLPS711X device nodes that can use it. These phandles will be used to replace usage of syscon_regmap_lookup_by_compatible() and syscon_regmap_lookup_by_pdevname() by syscon_regmap_lookup_by_phandle(). Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/ep7209.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi index 48a1660a9cf2..1630b3d3873e 100644 --- a/arch/arm/boot/dts/ep7209.dtsi +++ b/arch/arm/boot/dts/ep7209.dtsi @@ -119,6 +119,7 @@ compatible = "cirrus,ep7209-fb"; reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; clocks = <&clks CLPS711X_CLK_BUS>; + syscon = <&syscon1>; status = "disabled"; }; @@ -158,6 +159,7 @@ reg = <0x80000500 0x4>; interrupts = <15>; clocks = <&clks CLPS711X_CLK_SPI>; + syscon = <&syscon3>; status = "disabled"; }; @@ -181,6 +183,7 @@ clocks = <&clks CLPS711X_CLK_PLL>; clock-names = "pll"; interrupts = <32>; + syscon = <&syscon3>; status = "disabled"; }; @@ -192,6 +195,7 @@ mctrl: mctrl { compatible = "cirrus,ep7209-mctrl-gpio"; + gpio,syscon-dev = <&syscon1 0 0>; gpio-controller; #gpio-cells = <2>; }; From patchwork Fri Dec 21 10:30:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10740279 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 E2C10746 for ; Fri, 21 Dec 2018 10:31:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF494285A7 for ; Fri, 21 Dec 2018 10:31:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C33EA285D2; Fri, 21 Dec 2018 10:31:29 +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,FREEMAIL_FROM,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 6AA8B285C8 for ; Fri, 21 Dec 2018 10:31:28 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=GnV+z1+xmSJ8G+daiOJtXGnVCYvqqVapWngNyn9F1hc=; b=aATTObwgeGXbtTQoQa1xZqBNkJ 75ft5NMphxuoL5XmdEOrGwajngd2qSU79sj4sB1WmPBsXaYqh9WOK2K9+X2vnZXn4gu+qv1izwq03 iUHQZcXRq3kdZfll4mi7bPe0rAClgaFsjUZgt2E8sIZNfsYfOWIN3ltlVXzggfwVM4jep4rvqLigX wkbSX3ovlXK9j9DvuJqkx/qA2KO/eSQ2YZ3Rlbb+POFxcs2FVJ5mbbHvA+BQwEzROaMRKgrVLF/fO j5FOBPtqs1qg/u2y6JXxC1mkBcjS6QNDYo/dbkm76++4w4tqgfUX/Ck5dcdud8937oBLMzQFSiuIc 4eFR1ZsQ==; 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 1gaI5U-0004AS-FV; Fri, 21 Dec 2018 10:31:24 +0000 Received: from smtp52.i.mail.ru ([94.100.177.112]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaI4j-0003WG-Ll for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2018 10:30:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=3f66pvQzSbpiksDPe/i2FxdHiantj+SU5au+sZQvr18=; b=dyDYul+xLwZoevueN1PoUjKQmwE5hxpVbSX0+ae15NucgNmSALzRH4dIej4Z5Ol2dh/+gY1qaAZNoL/KG6MbToN0CC1h1kkxp2LZ776SPbAme8eAhB6x90Gtyk0q3rWxZhoG6h55y6zj6W3XAzDR/aqjMNQ/fRDivzVHRJOJZjs=; Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1gaI4V-0007db-N6; Fri, 21 Dec 2018 13:30:24 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] ARM: dts: clps711x: Add keypad devicetree node Date: Fri, 21 Dec 2018 13:30:19 +0300 Message-Id: <20181221103019.15374-4-shc_work@mail.ru> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20181221103019.15374-1-shc_work@mail.ru> References: <20181221103019.15374-1-shc_work@mail.ru> Authentication-Results: smtp52.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: BBE463BEF7A60BD05A78504BD2AC29419868B496DAF47A9F08ED325AB75B808BE20822DBF87D4E567C7F92F1E188C0E0 X-7FA49CB5: 0D63561A33F958A586FCB78A0F755E9AB22B7DB495E7256ADF850BE52090BD238941B15DA834481FA18204E546F3947CC2B5EEE3591E0D35F6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8BECADA55FE5B58BB7A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249DA33821E755670D83AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE72CE3825EE585899DCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE76340D046AB03C35241FEB0FE36B52EB075ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E9B4DE5E4DD44461499E1C17A7944253D9072FDF03832979696B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181221_023038_096182_0C3A1FAE X-CRM114-Status: UNSURE ( 9.76 ) 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: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Alexander Shiyan , Arnd Bergmann MIME-Version: 1.0 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 This patch adds keypad devicetree node for Cirrus Logic CLPS711X CPUs. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/ep7209.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi index 1630b3d3873e..6e86b22c1b90 100644 --- a/arch/arm/boot/dts/ep7209.dtsi +++ b/arch/arm/boot/dts/ep7209.dtsi @@ -193,6 +193,12 @@ }; }; + keypad: keypad { + compatible = "cirrus,ep7209-keypad"; + syscon = <&syscon1>; + status = "disabled"; + }; + mctrl: mctrl { compatible = "cirrus,ep7209-mctrl-gpio"; gpio,syscon-dev = <&syscon1 0 0>;