Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1116435pxb; Tue, 19 Oct 2021 21:29:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe/hIcyDk3VQiXuR1NAKH5ePUtp7hDpga5FgMBRNOk8wUy3KWPgq3R3YWNjfdn/HH54Acy X-Received: by 2002:a05:6a00:2390:b0:44d:bccd:7bc with SMTP id f16-20020a056a00239000b0044dbccd07bcmr4157038pfc.4.1634704183295; Tue, 19 Oct 2021 21:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634704183; cv=none; d=google.com; s=arc-20160816; b=MUpJ9fcUA+pAQ2Oe77DvMtneQZ+J4nHQ6bg0tlIEO+bG8JIC7nF5orkJjvxjMylb7i Josuk4c9x1cWHf2S5bsYwjEhQ2QlIok0Y4dySByYxFcMfhh8KDc6Un5bai6dA5h2TpCR OhM68qIingUAW0fHpTja82uPtWzgi38N4R7mZtUU2kkdqfA8n9gwiOOEzv2pwWpc0x8M L4apWZv/1jCNnLUHRSSroir75gIGQFncLvQeCVpZ9jeQkes+/AWd0nLBVIE7NiEI7x1z 77lJvNMrEiZ4/s4iXxyt5WgnX/C+emXU1F7VMw/XmFoa+gRRwBntGdTIVbYGmpeZF368 htUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=KVKplhRxILI8I/oy0FMY8RP+d5gKK/Wsa1r6nqQ6o3U=; b=vXJlXkiwWYDPtI66yHkhY/hdXA9/XzrDHqbxCDq+1PqHBE98i9txZGHrSc0Rxfsq3/ JKaHrsNx8sYKe8xGFA5VD3RHRnatLhG+c4kjUFwJaJA6UXMyiN1dI8u+NkVOy/1s0i73 9FfrKozNdUblBw4grxg6a/4LZVxrlyzNr8CklyCyjllUG9gCA3PqZrt+ZNpmGVvp4FES +CyyskyZy6ZtqZ69PF5rP0EXVN1ulAO3vZJVkeb9+1wvEOkc1W6Cv3fjbRL1oYhfYgRs 7uavcKRJKJdjPwTGxVJ6lap5cXPvoqm8dht5qzR3DPLsM3qQMv+MQGfeuE4YplLLtUbx wWaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bAjp6vkL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si1244931pjv.179.2021.10.19.21.29.30; Tue, 19 Oct 2021 21:29:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bAjp6vkL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbhJTE31 (ORCPT + 99 others); Wed, 20 Oct 2021 00:29:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhJTE30 (ORCPT ); Wed, 20 Oct 2021 00:29:26 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B34C061749 for ; Tue, 19 Oct 2021 21:27:12 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id z126so8064112oiz.12 for ; Tue, 19 Oct 2021 21:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=KVKplhRxILI8I/oy0FMY8RP+d5gKK/Wsa1r6nqQ6o3U=; b=bAjp6vkLKBf5OVZt33zDaaAdJgfXccJSKnoVSKOf6Y2zM89m+ddRnlIcBfnBeiMAGB pqyZOh/VkiJZjeZ8VO/Fa1ov9vrCSBE3WgJhaWUCkWLwh4RGqEwlHjCuVN9N0SaTYwW+ /KtiISyCJV5UScjlpTp4wCAKBOI3ddhOe0T2g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=KVKplhRxILI8I/oy0FMY8RP+d5gKK/Wsa1r6nqQ6o3U=; b=WcSIXv4eZuy3KuFur7IYcwMuWM18qklfLJ84LOUJgzK1eKqTW08oUtmxqnY3B3Ix6W tJNvX37OMqIpnNQCZGGPljyCoICbKzpfuwSymFIXQoUXhPZ28cQaOKsp9mQ+09lXf14Y fSto/LVadOOJ+Ov5C0+emHfntGYhfe1Bc/L20WpehHr8zETu73/QSpxcMXvj6rfKzoeE S29eOx5O8sHeSWqUc9GYx58uXzCEOM2b88zYhAp0eDEUj+1oIm1b+ToSpn937SnAbd3C 3W+iYGYha3HShGdHy50vpaBjMAFJii3jKlnRVqY8Bt7PdzJiJQ1iqc44LV9WwMfVJlqL 3DuA== X-Gm-Message-State: AOAM531hCEYyZTb0dJhbr3lwbZ55D2R1y502PKGpMzZV1UiVPjwOI61P /mIEXzo01GLeBO4v8SZfDN2qPdv94khTRc1l8JzY1VhD7p8= X-Received: by 2002:a05:6808:23c2:: with SMTP id bq2mr7418740oib.32.1634704032132; Tue, 19 Oct 2021 21:27:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 19 Oct 2021 23:27:11 -0500 MIME-Version: 1.0 In-Reply-To: <1634640531-15813-4-git-send-email-skakit@codeaurora.org> References: <1634640531-15813-1-git-send-email-skakit@codeaurora.org> <1634640531-15813-4-git-send-email-skakit@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Tue, 19 Oct 2021 23:27:11 -0500 Message-ID: Subject: Re: [PATCH V2 3/3] arm64: dts: qcom: pm8350c: Add pwm support To: Andy Gross , Bjorn Andersson , Pavel Machek , Rob Herring , Satya Priya Cc: Matthias Kaehlcke , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Satya Priya (2021-10-19 03:48:51) > From: satya priya > > Add pwm support for PM8350C pmic. > > Signed-off-by: satya priya > --- > Changes in V2: > - Dropped suffix '4' from pwm phandle and removed "status=ok". > > arch/arm64/boot/dts/qcom/pm8350c.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi > index e1b75ae..08fc0a8 100644 > --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi > @@ -29,6 +29,12 @@ > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + pm8350c_pwm: pwm { > + compatible = "qcom,pm8350c-pwm"; It should have a reg property. Every node should have a single cell for the reg property because the parent has #address-cells = <1> > + #pwm-cells = <2>; > + status = "disabled"; > + }; > };