Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8960927rwl; Sat, 31 Dec 2022 16:01:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXv62wxEG8oho5n30PgBUJJlFQ/tEeyrIHC1IIkGAQODC862/Gxm2ChM4h/U4NMz8mmI4B3W X-Received: by 2002:a17:90a:d907:b0:225:bd44:cf11 with SMTP id c7-20020a17090ad90700b00225bd44cf11mr32802286pjv.14.1672531297309; Sat, 31 Dec 2022 16:01:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672531297; cv=none; d=google.com; s=arc-20160816; b=NXF6MVfz/zLm5IYByXAVvNhmGlRyGI6KAu35UqaNdWoFiF5Bvy1V/NnfL6+Wt1Oroh J5VmTEnqKL+Z6/Wrrics20N0umvT3QNkFb5G5+7yFODj/I3rmcQibMQmGI44FC0Qosis 9xc2+U2Wr9D9pa/o1oEtufHfSbguCelUrJdt2nJFpfE5LygboTkdb5leZaQaFJEg9tXs 07f83DLFOMUGoAqkK+QfMjY42MH2Ll0KkfNh7DowHW+kucbV910YqqgFSkZZRPlditnl /Tv0MMj89u8F0w5K9JdNrhMexVI44glFfWB13+PigROwAeXIjiUHjGzNM0FzwbaeuuMk Rfvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=ddXJLCz66t5ciSKYjnFxdGsNInH7ChVUKYdQyuVBTwo=; b=Ys4m/xS3BmcOIdjG33m3MrKnRwrh2oMnN0QLB/dQf0g3WbWTFbQJvBUZjbOWFRfpkU 4wvt4Q7FEJvSvnVpJ8IwqwqqN5MwjXx7Rr+5sMOi8xEEhs0WPpEwbQIim7RXS1zfvQbO ZSo+R2Qmy8kZB+4mThMtM6oJ7QA8BfoJFJS4FJ4eByNBjZOk+b2h20Bx3pJ2opdSOzvT RdSDj8CVdolMtGG7F4O5Ype5Z6vVX3EG6djcN8q0OCo24LSJe4YpaTbRXZ7r/4aDvx6Z RLjY6xuVAOEM+2qM5szSeQZn/rk7QivrAFGK2EWwN/EyInvhSmsbftcKdY6ylXnQekOb rlDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=OioIs5kg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="s/nsLUng"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h29-20020a63385d000000b00498e8f1b9e2si18674747pgn.669.2022.12.31.16.01.25; Sat, 31 Dec 2022 16:01:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=OioIs5kg; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="s/nsLUng"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236013AbiLaX4I (ORCPT + 62 others); Sat, 31 Dec 2022 18:56:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232359AbiLaXzw (ORCPT ); Sat, 31 Dec 2022 18:55:52 -0500 Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90425E45; Sat, 31 Dec 2022 15:55:48 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 0ADEF5818F0; Sat, 31 Dec 2022 18:55:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 31 Dec 2022 18:55:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672530948; x=1672538148; bh=dd XJLCz66t5ciSKYjnFxdGsNInH7ChVUKYdQyuVBTwo=; b=OioIs5kgd6oAMz2kJr idzk/mjiblzyFqTAte+BVTYJJbLfXUVYHT9B6xVbPL/C3KDj7GqUgrNHz0guVLhf 174/qBbVS226h7RFcImxA8PvuHxAhYPpvUoM+Spab6bHP4r+Hi/bG3HflFqRkN5c Tw4F+PJuDd3I6sxXcAZzayFgD4omTJY5xNuWKJsiCT7k9jnUT7qWhOEILQ2UVf+Z FL7/a+1nx7W5uRmUb2WEA2OnNjkPj6oo+67/RyyEEEbOoxVSPNoplOL6YSD6p7v2 SJpwEgfPuqWr8UvATzNGohPLaqdh9FKcQEwHfjKvGzEtlWoCr9+Z8gaEZTXiGQew xmSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672530948; x=1672538148; bh=ddXJLCz66t5ci SKYjnFxdGsNInH7ChVUKYdQyuVBTwo=; b=s/nsLUnglqvcIGFbTOXOzQwTmhbe3 q2sTrH1eneRgv5Ter5P+/zG8QiVxGn9Md4ecI31KPGsIVkxP8tIJU1aFLVDP7LKT sx+ckSoxp3FuLW7sUEWyzqWEUChd1saB/RKJAgMWbeHUa5/h9oh+INlYQD1nPVrS 3c162R+/yeq1TPX2ljDGZS2FML3URTI8KJg7mcfA8bvYo9pVRilXl+2Lhs3nprHm VhuyPKD4uggnfiX5guiqYjmCgeSO2bWzofK5iCaZaIKpOykDDb2AtuliQ1dp163J Ros6bal8UjX+YzSj2LAXDDuz7qwKuPszgg3aUHbGY81qkgPGCAx1Bl7kA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 18:55:46 -0500 (EST) From: Samuel Holland To: Lee Jones , Pavel Machek , linux-leds@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , Albert Ou , Conor Dooley , Guo Ren , Heiko Stuebner , Heiko Stuebner , Jisheng Zhang , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Philipp Zabel , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [RESEND PATCH v7 3/5] arm64: dts: allwinner: a100: Add LED controller node Date: Sat, 31 Dec 2022 17:55:38 -0600 Message-Id: <20221231235541.13568-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221231235541.13568-1-samuel@sholland.org> References: <20221231235541.13568-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allwinner A100 contains an LED controller. Add it to the devicetree. Reviewed-by: Jernej Skrabec Signed-off-by: Samuel Holland --- (no changes since v5) Changes in v5: - New patch for v5 arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi index 97e3e6907acd..2c90683145f2 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -273,6 +273,20 @@ i2c3: i2c@5002c00 { #size-cells = <0>; }; + ledc: led-controller@5018000 { + compatible = "allwinner,sun50i-a100-ledc"; + reg = <0x5018000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_LEDC>, <&ccu CLK_LEDC>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_LEDC>; + dmas = <&dma 42>; + dma-names = "tx"; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + ths: thermal-sensor@5070400 { compatible = "allwinner,sun50i-a100-ths"; reg = <0x05070400 0x100>; -- 2.37.4