Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1215460rwb; Sun, 6 Nov 2022 21:42:32 -0800 (PST) X-Google-Smtp-Source: AMsMyM6aS2CjApwcvCP+fB63jmHW7EEwjo1D5IEFxIANfxzvO8i+fx8au0tKL/DlEfl+qHKTt395 X-Received: by 2002:a17:902:b218:b0:184:710c:8c52 with SMTP id t24-20020a170902b21800b00184710c8c52mr49228576plr.95.1667799752714; Sun, 06 Nov 2022 21:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667799752; cv=none; d=google.com; s=arc-20160816; b=nrL+aR6QJ43PXUOKHYKF8TpWhbHf0G+q2DUVOQVuM7mJXE366AwpMkGXKgOe6NLZ4z NNPH3NuU1PhGgBft1UBSkoNsNPxfibxdVvhOQNcGPQoLJ0rCAp/s5+26NVcGfNdHPhBk DYmqti7oEiVNGdHja6P4X6nPyFMrnWUyxVinPjLWCYexE2XRgcsSL+Lr/iipr2+yKYAF 6xhzNJGWdv0CND232srZ1QeyJIwRcKb+No05yeBCBGRBgPsZoYw/Ogm43vjEDmvnufnh By36BX+oDUk1ugi34Am6IM9woPKx7Hr0t0xZ2/xcOoxIDjigQ4H7J+PgsPmfoc3EhXhp 70+Q== 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=JYakY2qIENbEGtAlpSn1HIxk/DMOaz61CNK4NIgSOWM=; b=BuXHp1gWywaASwy2ePrWwUvIkWHIbcLUdpoBz8JzKCdMMO/OsITf9FXy3TmbMU+7gL k6NGETX1NfyyddLHeXNzfWX0vllvSpC04zHJJ7OJHGBmmgZVuR551tp7p2Hevl0pLmTd oLSzRyJJ+Hjzql+heletq62yne8BleX88Nqld4om7RGHiRuNJkm9EWjVO7v7so0f44eW GcsrPKRqsRhf6vnC3tVkjExgbgNuLXr/KZJ1GTynP+6pbBmBeIzg8gPPaKyghTbLM3s0 u6w9ZU3s3LWF0Wv4VCGXeTayAZHkxezrGwha7/BQB3LX8SNOhveUSczuTyKz1Vb7HX/V c3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=JiwHq9SL; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UOhFY3cP; 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 kk1-20020a17090b4a0100b0020d8df0ac89si14875356pjb.122.2022.11.06.21.42.16; Sun, 06 Nov 2022 21:42:32 -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=fm1 header.b=JiwHq9SL; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UOhFY3cP; 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 S230448AbiKGFc5 (ORCPT + 96 others); Mon, 7 Nov 2022 00:32:57 -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 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. 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.3