From patchwork Wed Feb 17 09:20:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12091243 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72E57C433E9 for ; Wed, 17 Feb 2021 09:23:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 06B4064E33 for ; Wed, 17 Feb 2021 09:23:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06B4064E33 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=mail.ru Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=ASIlml8igpn0YVCRc6yvuYG1JGtLAOKCo52AZp3v8Hg=; b=iww7V1nnzGhWNDsfs0drxrCfgk 8S60Sg5br+MZayHZb7gNzssHXIegV8ytwDhAkvvlz5vrK2z5a5/qHgBikRFmzya3MwE+mT74Zw/Sy mErzQwl6ZRkE6DqGLdrs0UcRWvZnMiMbJrSpUfwaUMwmbgV2m/QIooJ4sa3FOtArD2DeKJH0Xr+HH dOlC8VOvMU7JFFpZ8cPhWJSJWeNXosYj3tg0AKbYiL/Dj4C1dLKfsKdUHLst/VmAYZYKv4tlZJbkM Y6btVBF/A/hOaTNZrUrnit+6948DR18unKqj2DR1qEA7mxiSrXhY0ZDovjyQ1RZSobfZt7hDM3hNe 8xrF/n4Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCJ18-00080S-PW; Wed, 17 Feb 2021 09:21:06 +0000 Received: from smtp57.i.mail.ru ([217.69.128.37]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lCJ14-0007yK-Ec for linux-arm-kernel@lists.infradead.org; Wed, 17 Feb 2021 09:21:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=EjB+5VqWLyWmjemoi1Psrq7kjjSi0B7hGL5GqtStktU=; b=GLT65rykfwXJtlTSBSdSgNwe6M2/59A3Wn9z4auleVvnF4Oqsk3RwiwzilKszWh+f4WvqEPOYG8W2L2itc23p4ZWb49amEnQdQ2fxXhyGNgVSitwQOEeaQ/NbIsEooM700jeMFxt3TGUD00oM+Wd2tG70rpV9efFQLAfVCras74=; Received: by smtp57.i.mail.ru with esmtpa (envelope-from ) id 1lCJ0z-0003lw-Ez; Wed, 17 Feb 2021 12:20:58 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used Date: Wed, 17 Feb 2021 12:20:20 +0300 Message-Id: <20210217092024.1568-1-shc_work@mail.ru> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: smtp57.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD975C3EC174F56692243410BA6471F01668A37AB103014B813182A05F5380850409EE827FB635F08B1507516BB920420BC21CA316B94D806DE04AE5D08790AC34A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3DED2DACB82E709C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7BC08626EA5717D14EA1F7E6F0F101C674E70A05D1297E1BBC6CDE5D1141D2B1C08A5F5A1D2C2A955BC73F900414B057C189AD40ABAB17D3A9FA2833FD35BB23D9E625A9149C048EE33AC447995A7AD18618001F51B5FD3F9D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BF80095D1E57F4578A471835C12D1D977C4224003CC836476EB9C4185024447017B076A6E789B0E975F5C1EE8F4F765FC451FDA88ED5A5A9C3AA81AA40904B5D9CF19DD082D7633A078D18283394535A93AA81AA40904B5D98AA50765F790063742A7A319716989A3D81D268191BDAD3D698AB9A7B718F8C442539A7722CA490C13377AFFFEAFD26923F8577A6DFFEA7CAA44A86D94E7BBB093EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B630C12C51E7AE69A2089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E702ABEDDA51113D120200306258E7E6ABB4E4A6367B16DE6309 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CF81F587C2CCB193372F0DCD57F728C2278E5581508C49C739C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359AC8952F428387DEC05E4DBAB5AF249FA793EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D346B1FF97F6D0959A2D2AE2BD3BA7D8EDC73089C49D28AB9A71F61D99F6115901BDC460778C12749FB1D7E09C32AA3244C682B8721DB637102EC217AC01A63E89A85803964308724808D5DD81C2BAB7D1D X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojJkVkVdRHm//I9+q+miAZ0Q== X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E98D9BA45B4A66CD89EEE751E438F48B11CF13FF9A0E77555C6B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210217_042102_814724_7FB08CC7 X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , devicetree@vger.kernel.org, Rob Herring , Alexander Shiyan , Arnd Bergmann Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds SYSCON descriptors to framebuffer, SPI, DAI and modem control GPIO nodes to further rework these drivers to remove the call to the syscon_regmap_lookup_by_compatible() function. 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 365931f8b48d..dacbe0d8e67a 100644 --- a/arch/arm/boot/dts/ep7209.dtsi +++ b/arch/arm/boot/dts/ep7209.dtsi @@ -108,6 +108,7 @@ fb: fb@800002c0 { compatible = "cirrus,ep7209-fb"; reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; clocks = <&clks CLPS711X_CLK_BUS>; + syscon = <&syscon1>; status = "disabled"; }; @@ -147,6 +148,7 @@ spi: spi@80000500 { reg = <0x80000500 0x4>; interrupts = <15>; clocks = <&clks CLPS711X_CLK_SPI>; + syscon = <&syscon3>; status = "disabled"; }; @@ -170,6 +172,7 @@ dai: dai@80002000 { clocks = <&clks CLPS711X_CLK_PLL>; clock-names = "pll"; interrupts = <32>; + syscon = <&syscon3>; status = "disabled"; }; @@ -181,6 +184,7 @@ syscon3: syscon@80002200 { mctrl: mctrl { compatible = "cirrus,ep7209-mctrl-gpio"; + gpio,syscon-dev = <&syscon1 0 0>; gpio-controller; #gpio-cells = <2>; };