Message ID | 20220615070813.7720-6-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 A916AC43334 for <linux-arm-kernel@archiver.kernel.org>; Wed, 15 Jun 2022 07:10:15 +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=Nju0XHjI4MI9QQdAlZ1ODcJ/fh3IUvUSKt9NnjvQhwI=; b=cVc3H0UMrOh/Su tVqU1ZoO0xcwaiYYJM1Zo//zXovciSH2BGQJ+7opt0AeNa5j256OTXsvxX+1XuaqiBEXmFuGau3Bj YVnudSexRE3Ygj+zj/T6AX07eQltPiJUZJj4E/qIe8q/Xfb38RJFoK5w0t53mBV2xABMjAIjkBQ8T 5MRZkmHDk/6bA/NOQz/iMTj8r9WbzVCXiWFdzQ1XXElbNx0b7ve6pFjBIJqO8T6S7jMNsuPT/Sqsd WN8cCvinDycv+7RVML4UPup/JRhtMPbzDNGLsQDxIBPXnxJdIRlo7uF9GxmAeyju0Lzxp98pjeJwh PJBglj3NfTgHVOVimAqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N9O-00CzTn-6T; Wed, 15 Jun 2022 07:09:14 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1N8w-00CzJe-MW for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 07:08:47 +0000 Received: by mail-wm1-x32b.google.com with SMTP id n185so5783744wmn.4 for <linux-arm-kernel@lists.infradead.org>; Wed, 15 Jun 2022 00:08:36 -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=XhHHfhBS4JEZS5T4Cqsky8UODYiFkR3zFwNbdfWOgRM=; b=B3CYB6Nl2KGF+oCOFeUR6gZzBF3a3b32bAom3UR9EAoLMEnX+yxruYjwcNyBnMBYkl Dk9BQ01Wzx7JQFlgvVgUTMRUSac8nLBg3mCEVa9T7qiJijaj7dlNeik5AC5x9NSD2ggd KWYDvbjRazPZ3QxQnCG0Ep6zIUM7F8LSdT5qo3J/B8bdJvx07PY3wZlwtePuDNpIXHry AVqwQKpUvEv7KscMM8dojQH/4hQoa0FJx4gF9vfm/LMOS+v1EpZwLwPRkZ6u2WyQFRvG /lDDxNO88QNANusB4C1VCw6pGFEV0gCvpHwAzbxygUE7zrSsmKWlbfSoYR2Ipo0/Wydf czww== 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=XhHHfhBS4JEZS5T4Cqsky8UODYiFkR3zFwNbdfWOgRM=; b=qKB02wVUr5ZUwslceZW8mt2kN/HYvUM37e2YhBwf31jd6+fRb2PsHZXBrcJpA0HCtU OHtZWBPSHFiN5FFGMZX1AEbKqMaH8Cs7+UbniwWCm+0793wbiO98KyAQkDxjoTW1NrZz Il7GvWMvRIOGFfPzGZdk9EVp0jmS9CNEVbgOqPicmEvUx74cjCisLc4QCrsJrJxLiIRs 5+YZ4TVbNf7SW1ZGHrSfgiA5ABMY/ISCDvoc9u2298s9KgaB4MI3F7CBZFR7YC+5XYRT r0YBAQe5z81oH2YTTsgJCwLBkEc4cOJpuHNA/y9UvBWG87y5GnrRWwHNWQ6xsOuiT4bO w+tw== X-Gm-Message-State: AOAM533+SlrI5LUY/G0WvTQrNv36iGabsU0aAPFPiy/mv9OZoppn0Np7 YEm3qjiOR+M9GD9C8sm+f46V8qF6rrg= X-Google-Smtp-Source: ABdhPJx4NWtb3vWFFFfgrtFkg5c3A3KxJh3ThnO9v7JUj7JFhsIT9FFGr1tDDi/+cINTfg5V5a/R7Q== X-Received: by 2002:a7b:ce87:0:b0:39c:5509:660c with SMTP id q7-20020a7bce87000000b0039c5509660cmr8103989wmj.163.1655276915130; Wed, 15 Jun 2022 00:08:35 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id n10-20020a056000170a00b00219fb3a275csm12058044wrc.16.2022.06.15.00.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 00:08:34 -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 5/5] ARM: dts: mstar: Add pwm device node to infinity2m Date: Wed, 15 Jun 2022 09:08:13 +0200 Message-Id: <20220615070813.7720-6-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_000846_781458_FE368C00 X-CRM114-Status: GOOD ( 12.03 ) 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-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi index 1b485efd7156..70561e512483 100644 --- a/arch/arm/boot/dts/mstar-infinity2m.dtsi +++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi @@ -32,6 +32,14 @@ cpu1: cpu@1 { }; &riu { + pwm: pwm@3400 { + compatible = "mstar,ssd20xd-pwm"; + reg = <0x3400 0x400>; + #pwm-cells = <2>; + clocks = <&xtal_div2>; + status = "disabled"; + }; + smpctrl: smpctrl@204000 { reg = <0x204000 0x200>; status = "disabled";
This adds definition of the pwm device node, infinity2m has its own hardware variant, so use the one for ssd20xd. Signed-off-by: Romain Perier <romain.perier@gmail.com> --- arch/arm/boot/dts/mstar-infinity2m.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)