From patchwork Fri Aug 26 05:09:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 600802 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 08F05ECAAD6 for ; Fri, 26 Aug 2022 05:10:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244842AbiHZFKH (ORCPT ); Fri, 26 Aug 2022 01:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243720AbiHZFKA (ORCPT ); Fri, 26 Aug 2022 01:10:00 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17CBB13F55; Thu, 25 Aug 2022 22:09:59 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 876303200A8A; Fri, 26 Aug 2022 01:09:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 26 Aug 2022 01:09:58 -0400 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=fm2; t=1661490597; x=1661576997; bh=z7 lZBk+lWpWVHAS9g7ZVqLJWmlt/GE8GcSu0rIU3M0g=; b=pxwPieo2ckaht51kXM fcHG6LEzMy6P4hXz55IE7wsTZ0fHJ9fltwFpNYOrNuTEYAP+DnbY0u+XlgM0HcIS PCO8BI5M5XiQOhVME/EVcscv1wiHLeRXqhBg71WPBFLf4uY9PaWN40gG3ACASuL+ fEjaTTM7kUa6ObWRp5rmrN7Fr1qARbsHACqiBnSarr1PFAJpK8PZO0jxDF+Pw98y YGt7S6G8BJVx/RXUe/5pBw3U1WaVJd+StNp7Q+Gb6aUjdmKRVtlhrcNnfdq2KIak Tcp9s2sOAs8aBmNG0zTOYnG0o4pp+rFT4bQGoyDOTXB9PmeKe/JoSXqo8LBkkmfW lEXw== 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=fm1; t=1661490597; x=1661576997; bh=z7lZBk+lWpWVH AS9g7ZVqLJWmlt/GE8GcSu0rIU3M0g=; b=j83JH9rLn8jNXlpWUz2dnr7QappjN Xwlp3IVOivdSx3mA9MXE9N/HhjpF4Uq4bb6th9LlCN5FQ66x+28rvuU2PwDY8sLN kUB/bHqapclqNq/ENyOcGFoXa8euKzhsnfrkjhkn2/BB+p+kW0KJwO2dxVT0MKzj 5zCBroLEIC98oBqXZpPPTJsMfCRKSH6jkyp05ifLiHU/QORUv2472HnKgW5CmTvl IBwgzhgp7WWbGzXkBj2V8Ff/QxBfqOwKtTEGVNNI4zAxHzlvb8qrpr8ZjohlCgZA MzZBL6E/aFaSZmLFVdVmdPk7sw+dxjwiiPUTbgyJIn+zYld5k2KvzQ1vQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejgedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Aug 2022 01:09:56 -0400 (EDT) From: Samuel Holland To: Pavel Machek , Chen-Yu Tsai , Jernej Skrabec , linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Rob Herring , Samuel Holland Subject: [PATCH v5 4/6] arm64: dts: allwinner: a100: Add LED controller node Date: Fri, 26 Aug 2022 00:09:40 -0500 Message-Id: <20220826050942.20067-5-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220826050942.20067-1-samuel@sholland.org> References: <20220826050942.20067-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Allwinner A100 contains an LED controller. Add it to the devicetree. Signed-off-by: Samuel Holland --- 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 5453a3bb7d81..d5d13ea46c15 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -265,6 +265,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>;