Message ID | 20220907131241.31941-4-romain.perier@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DB2EC38145 for <linux-arm-kernel@archiver.kernel.org>; Wed, 7 Sep 2022 13:15:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=/cZJ2kkXYX8kM5TieC4ET+7gz+TKY/nKF6+SrAdqWfA=; b=ZncL5JI/8VAsgd nwF782to2v+kz/r00mtbDD1H+1zoN9tuzP2qTL/Ioekb//+5GOl/a+u04iJTo44f5f14Oc6HxCViQ uXG6sLL36soh9ID5eMEcgGVD8GeP5I1OkX9Zyk6zeyEBq9JUnDKyx+kdgXJv/Li5wpufnfNfs76PO r4SeoSQ7cO4NIcNsSQRZY+pstyztd4+NWPAL8B7Q5hQF3BUJbnpC2I+TYuCnjEouspkwJW38iEF3n cidbOJbOfwO2qjlZoO3ycNbYkQCtMoY5BczASX1itRFMa+GaKLf0kkaUU6u3mWPXpx9cSG88dZ8M+ fea8eMoiL4SUK1LgFj0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVusd-006OaK-CO; Wed, 07 Sep 2022 13:14:11 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVurb-006O2o-Sj for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 13:13:11 +0000 Received: by mail-wr1-x42a.google.com with SMTP id t14so13045810wrx.8 for <linux-arm-kernel@lists.infradead.org>; Wed, 07 Sep 2022 06:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=LwR7/AOTal+NwY86Mp0FPWEx+VIIdg+npTDhkz4uRZA=; b=j9qF+fk8yh03/leBQqIXtPMvvBhD5gSXNrahxJyOe9cRJ6n5TD/11Wq8it7YInP4Sq 9gBLObzPvIVgluWs5kKyquuPe1KuZVirw/j2xrUL5c3J6Bj8wlij7lYTMG/YKrdzgL6n VFKyBpEeMbBvsfI49oNtmBMQtvCTIz3+hk4OcHXlraNnOLc4xxMDEe+nID7kBgemXQ/m rQfeOhYr/0l9h83oswFfP40PPW8GAAB8Lt4cLHIMx0TFFKxzM1ci7zgPL84xlqmRw6zk pmcxGOmtUrpDQn8pPLj7SfRi4mGL3xiiup6KJIZkGqk+0O2QG35GoM+kP4kM0RS7oAto Fsjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=LwR7/AOTal+NwY86Mp0FPWEx+VIIdg+npTDhkz4uRZA=; b=j3JYlwgImvBmlDyy/jNV93ZDGMKMdnqnEv8vOfFlVw7azXz0I289pZKTtsMSZBrVy4 fEiqEFZY7XsYjaQobkXw9MBTUEQdV9jRuWR5O7mEapLez1vxwsxDUINwHK7P4Oplki2B GUOiad9Ry9oKcI2KnGjLq/8+CcQvXB5P3xSYPXHXUCqzy48YmInEWTZ5BnOCwLXW+iQz aeLOe+u8vMePyyPQBYkJOTOfqTRCGficTEWM3sBoTiwJx+szex6rf+nlE8zovzvK+0Bm dTpRFZsBjJOJzEpv/exri2aCireKj1mkS38SxOCq7L8jTVV17D3qb0607yAvbRnOhJFe z3jQ== X-Gm-Message-State: ACgBeo3Eu4j3b5JPJt6Xce5s1tGyOsJjE2C+c6tayYq1rH9TOiY+BDo9 VKDQc3Xf8S4cjYWnAo3DsfY= X-Google-Smtp-Source: AA6agR4V8GZNQUSgq/mg1BWNRizQZ43PEteRk2TrUnEBu3a9kle2wJbkTv937CeaDzNABkhdnSQ9jQ== X-Received: by 2002:a5d:6388:0:b0:228:c792:aabe with SMTP id p8-20020a5d6388000000b00228c792aabemr2041911wru.689.1662556369167; Wed, 07 Sep 2022 06:12:49 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id t4-20020a05600001c400b00228aea99efcsm10398230wrx.14.2022.09.07.06.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 06:12:48 -0700 (PDT) From: Romain Perier <romain.perier@gmail.com> To: Thierry Reding <thierry.reding@gmail.com>, Lee Jones <lee.jones@linaro.org>, Daniel Palmer <daniel@0x0f.com>, Romain Perier <romain.perier@gmail.com>, Rob Herring <robh+dt@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] ARM: dts: mstar: Add pwm device node to infinity Date: Wed, 7 Sep 2022 15:12:39 +0200 Message-Id: <20220907131241.31941-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220907131241.31941-1-romain.perier@gmail.com> References: <20220907131241.31941-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220907_061307_952663_AB39C078 X-CRM114-Status: GOOD ( 12.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add PWM for MStar SoCs
|
expand
|
diff --git a/arch/arm/boot/dts/mstar-infinity.dtsi b/arch/arm/boot/dts/mstar-infinity.dtsi index 441a917b88ba..752f4c26b31c 100644 --- a/arch/arm/boot/dts/mstar-infinity.dtsi +++ b/arch/arm/boot/dts/mstar-infinity.dtsi @@ -38,6 +38,16 @@ opp-800000000 { }; }; +&soc { + pm_pwm: pwm@1f001da0 { + compatible = "mstar,msc313-pwm"; + reg = <0x1f001da0 0xc>; + #pwm-cells = <2>; + clocks = <&xtal_div2>; + status = "disabled"; + }; +}; + &cpu0 { operating-points-v2 = <&cpu0_opp_table>; };
This adds the definition of the pwm device node. The PWM being able to work with the oscillator at 12Mhz for now, it shares the same xtal than other devices (rtc or watchdog for instance). Signed-off-by: Romain Perier <romain.perier@gmail.com> --- arch/arm/boot/dts/mstar-infinity.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)