Message ID | 20220615070813.7720-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 E3D4EC433EF for <linux-arm-kernel@archiver.kernel.org>; Wed, 15 Jun 2022 07:10:03 +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=3RLmcSUxSgcb+t 6A38C+UopDlxXQNwYbzeOONqb3+UJlFdoYzDUVNFBWDc06c6TKxKlquTAnHQqkAVHd14hbv/kp7+v bWHjPloLHL5gmaJAJRVCcRX+FEosMA663dCCKuHFP7vUlZiLLwelOZglkc1K/LTUJgPm3LE8qZeyu WKXJ2ZGAIrtmWf0ynhSjzOLImLbplt2EFHz5m1eSnv4U7HYR9gCwDSgyVzWGenqxAJBhJ6VvMofy7 5THBRKnucdICOUr5FQ2VRGR7RzxdTtrh/YbRxcnMZZJD6iJdJFiimSNKdEyHvAaTlOgVO/sjHDooS jbontgFLiIjVDmZLKbZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N9E-00CzPx-5H; Wed, 15 Jun 2022 07:09:04 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N8s-00CzJ0-UW for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 07:08:44 +0000 Received: by mail-wr1-x434.google.com with SMTP id k19so14027275wrd.8 for <linux-arm-kernel@lists.infradead.org>; Wed, 15 Jun 2022 00:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LwR7/AOTal+NwY86Mp0FPWEx+VIIdg+npTDhkz4uRZA=; b=gL8bFY2m4va0wZeJRgUWqT7kUBrgClgBRzeWX6YYme41Px5+XLUsZs9BZHzhA+j5uJ QpBDiZsW+/xE0hj0VZ2mae9c9SV/iffmUp+YaRKTjsQ5uxNFtRv8KVw07hkNc5hb2YHR Tt5zploYnrKt3aBmE4ykfGtpuKVbQj/z2Y3dmPwPKCl6BCsNBJE2maanXiYn9AIVrrFl vBKDO78TRIcjTOYXLwIcPD7t27vpH8gPK88BJ++c5uX0ES11ecP8lurhG+W7JxuinaLY R9rVz7bGM5P3rQb8mEoOkIBv4CTekqz9YbPYHu3acTS35H86hDApTQS2WCuz6Ineo8So 35jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LwR7/AOTal+NwY86Mp0FPWEx+VIIdg+npTDhkz4uRZA=; b=8OPSeiZ1Wj0SiRlgFyKt9AF51UU2vp35Ttl13ICgfrUdEnsU092bKgI2qDLFfYGwYd 6eAoLK1ieuToECDKRIC+xj2vxQCrfBCsFeDjCHxT/5QIf5r2o8W8cJi12zhWN2yxY660 V/gsq5NpXs6dN5uptNeucS+Khjg3z8rltvfgakXAw100iCRAVzSZiEm/Cqica1+XDnZ9 ZwXjqDrYp0uKYu7UbSS05PSYOY8W7naJGELCoIT+aN9WfSjak6M7tSZgVYj3BFtaer1f pKho46tYZuDbrnb73r3chKHscjqfJTGKJzFWzNfG/OYF9fR7FqXLkp5Dj/LrJoyP7sLC bsHg== X-Gm-Message-State: AJIora+d82QCEViSexif6nBfRm4oLKIqXtnFWaBkm1DS0mZmZztYOkig naFpqMyVIHBlILb3x/momWg= X-Google-Smtp-Source: AGRyM1ssv4YeT78/571fz1QIuy4yDwJUyp3ElYxO5BCNbb/YE3woCIMzzu8jcbMtQbq4IB8m1ejJpA== X-Received: by 2002:a5d:6d8a:0:b0:219:b7fc:f29d with SMTP id l10-20020a5d6d8a000000b00219b7fcf29dmr7969502wrs.665.1655276913323; Wed, 15 Jun 2022 00:08:33 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id d9-20020adffd89000000b002102d4ed579sm13472386wrr.39.2022.06.15.00.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 00:08:32 -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 3/5] ARM: dts: mstar: Add pwm device node to infinity Date: Wed, 15 Jun 2022 09:08:11 +0200 Message-Id: <20220615070813.7720-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220615070813.7720-1-romain.perier@gmail.com> References: <20220615070813.7720-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-20220615_000843_027787_C663EC3C X-CRM114-Status: GOOD ( 12.78 ) 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(+)