From patchwork Thu May 13 18:20:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Schramm X-Patchwork-Id: 12256185 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.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B0A81C433ED for ; Thu, 13 May 2021 18:21:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 6B33D61438 for ; Thu, 13 May 2021 18:21:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B33D61438 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=manjaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ySrxkb3U76hjpkqywAuVpgQOlEIcNS8u7hdKOXi7D9o=; b=lW505rlh+0v257pi2E7YAHhWa/ TFcfP7henHTSWL6pRTPPaW74+laiav4MhaVkHrrkhBTRY5XHtzJvlFmPs6f6VXbG0Iuu/AucijJiO bF9vaVEgxbkb6OTeqU4uiPF0Tpep6sGDhA6COHJohL4a0JDeQ//Z5GPPpiZ3CVbxWWrYtZ+XzYcJ4 TzguAz5un2Vw0+ifz3u7hlO7CdoAqW39WHVQfpr0gkO7/1/hGPYsYdjq8f4ueFE8elVPtWuaHhCnC bxSKBb6L2K6hb0qFDeKmp2VmUF1/+HUcdbisNQT9yA07GRXIdtMqVM7seL99Qsf6eTY+15aZQ6KCJ yUlL32OQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhFvD-0068NT-OY; Thu, 13 May 2021 18:18:55 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhFvB-0068NL-GK for linux-arm-kernel@desiato.infradead.org; Thu, 13 May 2021 18:18:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=WafJnNwfBDuQCXF6mYSKGhECHdZnL+KEE2i382L42og=; b=xvRFQy3Lzyi/gQ9auDxOGl6Z5x CYQzgYTkI1ToMUWp5fRkWXRu36K26oe7T8hqvUDkum03/J6Ok550UwxIK7UA5k1Lw/yOEAvUzZ5JP nMURwJYpdG6IAyj9J+k8FJBYfk1iGc0R23ZJZ/v5FVt0qeE9w1fSgSALdM9IKwEqmMXxK+gkzggLx 4MhRYUmidw5q0iSmOTMI3MyL6YSyUInkB6PWEcMi952Edi0/p+JMxGYhidXWSu8utrSvJpGE1IO1m odCt3CZHRu0ztBjH5D9Cp4KjQE2dPXqj3aErW881Ir6vEls14QX/JkmJMJNWVMufI2Mv3c0vtuBj9 +bfRDKpA==; Received: from mail.manjaro.org ([2a01:4f8:150:448b::1]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhFv8-00BR6K-2k for linux-arm-kernel@lists.infradead.org; Thu, 13 May 2021 18:18:51 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id DA66922111A; Thu, 13 May 2021 20:18:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z8FFyIV5ygwk; Thu, 13 May 2021 20:18:42 +0200 (CEST) From: Tobias Schramm To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Tobias Schramm Subject: [PATCH] ARM: dts: sun8i: v3s: add pwm controller to v3s dts Date: Thu, 13 May 2021 20:20:00 +0200 Message-Id: <20210513182000.2068223-1-t.schramm@manjaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_111850_296195_864EE5F3 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Allwinner V3s and V3 SoCs feature a pwm controller identical to the one used in the Allwinner A20. This commit adds it to the V3s dtsi. Signed-off-by: Tobias Schramm --- arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 770f5a25ab4c..22bc5ab4c3ca 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -433,6 +433,14 @@ wdt0: watchdog@1c20ca0 { clocks = <&osc24M>; }; + pwm: pwm@1c21400 { + compatible = "allwinner,sun7i-a20-pwm"; + reg = <0x01c21400 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; + lradc: lradc@1c22800 { compatible = "allwinner,sun4i-a10-lradc-keys"; reg = <0x01c22800 0x400>;