Message ID | 20220615070813.7720-5-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 7E1BBCCA47B for <linux-arm-kernel@archiver.kernel.org>; Wed, 15 Jun 2022 07:10:27 +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=Qj7JE+OK6VbE8sZJrHbAAm9ZhxATVJfZMqXBIeKqEKI=; b=XvSUvFcXtjjZ0X 0l6B2PHxoKDhjweiof3NKNXOZ1d0r+oNgcRsEFSb94oKDUh6HoGudI5QEotYcDOm9aBULr/dgf5dy vYU7fhN/55midPihw/DbQdoGBF2A+sbCibAurt57dPwmhTjIi4tSgszz9TqyJnBnNCRXeMMDeM/W2 52L4P8mJplTQ1VblxFLvfQHok1KqkBS3hVRGq2mUYat3y0edBWUcEMseSOwH/cr5fH6bE8NZesxyk kzIaltNTRRIaytegNGhT6R0LOzns4Ny3+Qa6c5P3yQMnry4wMkL/hYPoroqDkUUf3s3/h4jxPlL3J dMfaaZfUJuKxSQOkXvYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N9Z-00CzYk-I4; Wed, 15 Jun 2022 07:09:25 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N8x-00CzJF-Rp for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 07:08:49 +0000 Received: by mail-wm1-x333.google.com with SMTP id m39-20020a05600c3b2700b0039c511ebbacso579626wms.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 15 Jun 2022 00:08:35 -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=Cg9l8Dw5kbbaSW9iT/X0V7LIeInZuZuCPQHiyAl6l3A=; b=HSMAYc+f0kXflnPy03sKUdNFiTOuQZ3iMe+rh62nN4LXiC5pFvFZkSxmi7+eXnkHZZ 13FhRm49eumOmOzDZ0vi4jZNma5HJZEMeR1VPXqgNF24XkIWyzsLtYcrg2tgSAC56nng gYGbLWNqfhVJnIaZjqy7RRnUDw9V8BlR6LYF2hEZF851bJbi2O7gO/JOI7TgAnQG0lzj u7TGYOqa0C3DHVmfV9Fln7dswaHmqahG5AKzWlkIhaMXmWofXp9KWk9odTXLBXfcwNSP TnIz0CSDc841W3GpniUIrkM3Rb5HhkH3SK3Ljyhz3aH4vduqqisogxMF+bg+Ms+l4ZFp 2tPQ== 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=Cg9l8Dw5kbbaSW9iT/X0V7LIeInZuZuCPQHiyAl6l3A=; b=HGjbYfUkpN6yoSAPj8rt6wTj98oYbciSWguBhbcWzpO1zW/6gaUHKJHleYY8BfJKpN ve9inMyeeGH0C3R8mpiT+WS8kFusJZxNs5ICOa8/Srx7/66W4Ue4UoIYp4B0AHt21Jzp hlGQ6/k3iIUCuGakvvCf/y2UUc3ijZoxsa/SJY0p5Hig6CP/JECtTvksZ8zPU7SJinm2 KZfXK4uBdsqYEoyRj8sqJWPZHugHbrtNRCtgXDBShIZJyHi/XBQp5HRrQn82EL/QnOet z540WmnUCnz0tNhOLlYdmzum7gS9qXDG+2KZisXbXpv4FNbQYnxbVGJ7/SvmbP1ac0Ks Ax+g== X-Gm-Message-State: AOAM533RBxzOXhucP3689uk00tKce7Z31mBr8oFUmHDw/VMkH3FtYhWX VjR567bUL3l26jE6NCsWTds= X-Google-Smtp-Source: ABdhPJz8/duArN33thJ3UidKgsyl5Z3GS7szdDEqz4eiDcM555QgOBVw1pc9kTlG6+JTXnZMKPrvTA== X-Received: by 2002:a05:600c:240c:b0:39c:5b4b:f3c7 with SMTP id 12-20020a05600c240c00b0039c5b4bf3c7mr8244118wmp.127.1655276914191; Wed, 15 Jun 2022 00:08:34 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id l9-20020a5d4809000000b00219e8d28fb1sm13814277wrq.57.2022.06.15.00.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 00:08:33 -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 4/5] ARM: dts: mstar: Add pwm device node to infinity3 Date: Wed, 15 Jun 2022 09:08:12 +0200 Message-Id: <20220615070813.7720-5-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_000847_977785_EA3902BD X-CRM114-Status: GOOD ( 12.76 ) 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-infinity3.dtsi b/arch/arm/boot/dts/mstar-infinity3.dtsi index a56cf29e5d82..aa26f25392d0 100644 --- a/arch/arm/boot/dts/mstar-infinity3.dtsi +++ b/arch/arm/boot/dts/mstar-infinity3.dtsi @@ -67,3 +67,13 @@ opp-1512000000 { &imi { reg = <0xa0000000 0x20000>; }; + +&riu { + pwm: pwm@3400 { + compatible = "mstar,msc313e-pwm"; + reg = <0x3400 0x400>; + #pwm-cells = <2>; + clocks = <&xtal_div2>; + status = "disabled"; + }; +};
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-infinity3.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)