From patchwork Mon Nov 7 05:32:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 622457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C023BC4332F for ; Mon, 7 Nov 2022 05:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbiKGFc4 (ORCPT ); Mon, 7 Nov 2022 00:32:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbiKGFcx (ORCPT ); Mon, 7 Nov 2022 00:32:53 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64755FAF4; Sun, 6 Nov 2022 21:32:52 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C0A215C0097; Mon, 7 Nov 2022 00:32:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 07 Nov 2022 00:32:51 -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=fm1; t=1667799171; x=1667885571; bh=JY akY2qIENbEGtAlpSn1HIxk/DMOaz61CNK4NIgSOWM=; b=JiwHq9SLt7hwYEbGnL rMLVn060GNr/PqIaVQw1jLrHN2GR5KCz8aB6kNPxkNQhllzJELYBAbygS4g1pBAh YBYK/P0PTX1SbDikJozxIisyTV5bXWmmYmxhg+USzIN3IDnPWcCnHmQhaQZJztRu rz+hqMJxg7rzyFL2zaORui2Dlzu+3MMQbbdnpKrvS25P6SHq6b63q5U6QTrXLZ92 Q0isclVE0OOflA1Y0vF2ijgDI4eOeBCkvZZvY5wCiAwOzMUywe4iW4t9C8THO5Q1 9WFwtuMRCUIpyVld/8K20Pm8owHpIZDxoUv8FrQyOFLiFI3XOxJ6eVUic/DCwJXv h0kA== 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=fm3; t=1667799171; x=1667885571; bh=JYakY2qIENbEG tAlpSn1HIxk/DMOaz61CNK4NIgSOWM=; b=UOhFY3cP4Thc0H/8dx2byeww8WXnO ORVRK2F4JoSKTRSgbTQ8HlOs1YbWTht1gBEvHqe/hTRInJbr5FlzHdLaa1VtOHxW 2ZJSlqdnMS1lTpBephvayDztv8lg2/DtoW4tRUwxHLSm4GXWgrHkBWFRDkgMpvqf c19n7inc1wsq0UhH2psiGsl4gnLWjXrxmwPbdCXJufmS/0okuz18fVAMtW8MeDjc 0hPS7oa8+CAMzV6Z+xjvggsRAS4/Fa40T9Njkpp3sNmNqpJksqWeSCRQx43Q4D2Q oFkJcWFwkCoIzw+0XBZFXgkF5zXad0r0EjmO0rRRB/0Bvbw5NRl5od+Lg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdejgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 00:32:51 -0500 (EST) From: Samuel Holland To: Pavel Machek , linux-leds@vger.kernel.org, Chen-Yu Tsai , Jernej Skrabec Cc: devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Samuel Holland Subject: [PATCH v6 3/5] arm64: dts: allwinner: a100: Add LED controller node Date: Sun, 6 Nov 2022 23:32:44 -0600 Message-Id: <20221107053247.1180-4-samuel@sholland.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221107053247.1180-1-samuel@sholland.org> References: <20221107053247.1180-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Allwinner A100 contains an LED controller. Add it to the devicetree. 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>;