From patchwork Mon Apr 5 05:16:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12182709 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=-14.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,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 49EBCC433ED for ; Mon, 5 Apr 2021 05:50:44 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 2B35C61393; Mon, 5 Apr 2021 05:50:44 +0000 (UTC) X-Greylist: delayed 2018 seconds by postgrey-1.34 at mail.kernel.org; Mon, 05 Apr 2021 05:50:43 UTC DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5AF156138A Authentication-Results: mail.kernel.org; dmarc=pass (p=reject dis=none) header.from=mail.ru Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=shc_work@mail.ru Received: from fallback16.mail.ru (fallback16.mail.ru [94.100.177.128]) (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 5AF156138A for ; Mon, 5 Apr 2021 05:50:43 +0000 (UTC) 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; bh=EjB+5VqWLyWmjemoi1Psrq7kjjSi0B7hGL5GqtStktU=; b=tV8Q9s1Jffs33VdGHXkqKyUI/plK0DrJpdl8W9QbSF0GgxXU6QYqH7zbO501C1ZUnWU/LOlr4DwzZRoSGJ+GnvMOgaMyN6Fjtdkf+cb4AjvufjtPTSOTDjMljKgIkLEDc2qP0R35OQnpHodfTNc1J4DibP1IPqtSqWpOqIjqVz0=; Received: from [10.161.64.48] (port=39676 helo=smtp40.i.mail.ru) by fallback16.i with esmtp (envelope-from ) id 1lTHbl-0007fF-Ep for soc@kernel.org; Mon, 05 Apr 2021 08:17:05 +0300 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=S0xECS0l5T9AY8ASMAexrYSmLMJC3WLC4xqEANHGMQ0sFvszLrzs6th7+yl9Yy7otfsqRqgokFVE4ZVyu0DWEU+Sxwq6EmbwYrEd6UycHuD0fCRM0Sqjct/5g/lUYZ7wN+ZXJaB0awAY9H9D4N96NZa9rfRIGdTTC9bnWXb230E=; Received: by smtp40.i.mail.ru with esmtpa (envelope-from ) id 1lTHbj-0004b7-4p; Mon, 05 Apr 2021 08:17:03 +0300 From: Alexander Shiyan List-Id: To: soc@kernel.org Cc: Arnd Bergmann , Alexander Shiyan Subject: [PATCH RESEND 1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used Date: Mon, 5 Apr 2021 08:16:54 +0300 Message-Id: <20210405051658.26779-1-shc_work@mail.ru> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E32947427BE79D20CABD4ABD7C98AF5DBFD37182A05F5380850401A71FE8A1CE707F43FA013C97014E2C73DFE97D1868514A270D040BFFC5165FC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE72F22E6DC541F75D9EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006373768BF035B57E5168638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C16EE06F5A270FE6A513AFA328F1D1A1FD8ADC51EEC323067A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C37EF884183F8E4D67117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CF7550B81DD467D0A9BA3038C0950A5D36C8A9BA7A39EFB766EC990983EF5C0329BA3038C0950A5D36D5E8D9A59859A8B6CA3F71192337494A76E601842F6C81A1F004C906525384307823802FF610243DF43C7A68FF6260569E8FC8737B5C2249EC8D19AE6D49635B68655334FD4449CB9ECD01F8117BC8BEAAAE862A0553A39223F8577A6DFFEA7C4C6E48853DD3025843847C11F186F3C59DAA53EE0834AAEE X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C16EE06F5A270FE6A513AFA328F1D1A1FD8ADC51EEC3230679C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359A805C47957401F4817D06A436E56C8DB493EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34D8C933888226C84167A8419DB0957F22AF023E1B45C4AF3A34DF8A5A68E7C2F03370FFE62A01EDD21D7E09C32AA3244CC199F02F429B59A034689F9D896EC8E98894E9C85370243EFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojt47dm/981n6ZetW6cMbV7A== X-Mailru-Sender: 8261CADE3D3FA0B4C2F1292954F703E980C2E32AE04C5E283AB037227F9F735DFA4D700E556E63F16B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: Ok X-7564579A: 78E4E2B564C1792B X-77F55803: 6242723A09DB00B4DF7173A40FF1347DA6106AACE9855D497B195A79B23E2D14049FFFDB7839CE9EEAEE7218277C81E55B7BAEBECC090445863CE496F92D285BDCB16A768D7CDEF7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C16EE06F5A270FE6A498B8313E58EC713DAEDF478E59CC4059C2B6934AE262D3EE7EAB7254005DCED89C3600D1690B433699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5xhPKz0ZEsZ5k6NOOPWz5QAiZSCXKGQRq3/7KxbCLSB2ESzQkaOXqCBFZPLWFrEGlV1shfWe2EVcxl5toh0c/aCGOghz/frdRhzMe95NxDFdM/HWZ2FZeTfayaqM0ZfwjA== X-Mailru-MI: 800 X-Mras: Ok 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>; };