From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98100C07E95 for ; Wed, 14 Jul 2021 02:42:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 63AD261175 for ; Wed, 14 Jul 2021 02:42:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63AD261175 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o97Wj7GuWg51P0c2DdaZMrjKbIO78ua+/lt/wp72hHk=; b=Np7ecqfw4gLrpM RQLtERok93bpEQ0Wv4dM5yWbdaL2K1bpSSrb7S8bBE8mcPGB6i3Jn7RWE9eiuV4uz9xuPAAafZiSX Wki6j8FSCxw3SF7qjv3g1RNLeb3MOIxnE/hS+cAPUDtsCgnysGtW4qJy4ySLHasBbGwl34/c5hmD4 d3epDOw/REELHtHM7gYou+naYTNGg4/toDn0rCxZJEaAOwTgpRG0oOkvQYNyjRi5baEgCFHn06yiP jxAM3HhfImKypwr6E+JK1SQcgUmZeUbDyrz/xHgbQFoo89uMsqEZp47zKouEarhhszxJVAuwXzEeq owsjEEEHh1RoGUhds2Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3Uoy-00C4wz-Cd; Wed, 14 Jul 2021 02:40:24 +0000 Received: from mail-il1-f178.google.com ([209.85.166.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3Uou-00C4wF-IO for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 02:40:22 +0000 Received: by mail-il1-f178.google.com with SMTP id a11so109175ilf.2 for ; Tue, 13 Jul 2021 19:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=riDFU7JLN9rdxbZ0yha84VJqHGAQItObLh3l+N0JqmE=; b=dloQ2sikeLkcz2GMRVNq5eBegOKgIRZeIuY7nOOoSRbakVgjEmgrula/WreCUuQYFA iiboPDfcWPEyKctrc6Y7Q/Mb57Z5PqFQnNXLRtP9rWIUqSBwLhIeWiS0Zk+WfHGAl0WB Css9hvEEU8HeL9QgHpNm+Z8D++9Ulb1Dv/hMjqt0wD0RzNalUgTAkqnubVVJlgNOCe6k 9T2zulFh24zh22j/2mTyRhGwfvWSrPmMSxTATxy40zOzeAZToV1CvsFUWOytxpyMoHNy X8jaETS7sS8GShGIpc+DJH5rMdq8jobu1ZJFCz+BjZ1VqhEFdRsOqSO4bcA68ioT9fj+ i8kA== X-Gm-Message-State: AOAM533QE2+n56/bggaGHXLSnd+4ro3x+25zJRIU79mO9QoAORjHb8EA NgBzpLGhL5EEfp6VmGnktg== X-Google-Smtp-Source: ABdhPJyYpTVJnJWr7IspJv6gkKDKsVeyNcozRDAHV5BN+pzvPlKtikW62UPo9J9JYyBz7AeGniakEg== X-Received: by 2002:a92:b003:: with SMTP id x3mr5176007ilh.93.1626230418602; Tue, 13 Jul 2021 19:40:18 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id d8sm407613iom.49.2021.07.13.19.40.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 19:40:17 -0700 (PDT) Received: (nullmailer pid 1350780 invoked by uid 1000); Wed, 14 Jul 2021 02:40:14 -0000 Date: Tue, 13 Jul 2021 20:40:14 -0600 From: Rob Herring To: Baruch Siach Cc: Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Lee Jones , Andy Gross , Bjorn Andersson , Balaji Prakash J , Robert Marko , Kathiravan T , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 3/4] dt-bindings: pwm: add IPQ6018 binding Message-ID: <20210714024014.GA1334332@robh.at.kernel.org> References: <6d3a4483d22753ba8114304db07756620c66da41.1626176145.git.baruch@tkos.co.il> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <6d3a4483d22753ba8114304db07756620c66da41.1626176145.git.baruch@tkos.co.il> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210713_194020_656558_BB7E786F X-CRM114-Status: GOOD ( 18.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 13, 2021 at 02:35:44PM +0300, Baruch Siach wrote: > DT binding for the PWM block in Qualcomm IPQ6018 SoC. > > Signed-off-by: Baruch Siach > --- > v5: Use qcom,pwm-regs for phandle instead of direct regs (Bjorn > Andersson, Kathiravan T) > > v4: Update the binding example node as well (Rob Herring's bot) > > v3: s/qcom,pwm-ipq6018/qcom,ipq6018-pwm/ (Rob Herring) > > v2: Make #pwm-cells const (Rob Herring) > --- > .../devicetree/bindings/pwm/ipq-pwm.yaml | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > > diff --git a/Documentation/devicetree/bindings/pwm/ipq-pwm.yaml b/Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > new file mode 100644 > index 000000000000..a07bfe63dc1a > --- /dev/null > +++ b/Documentation/devicetree/bindings/pwm/ipq-pwm.yaml > @@ -0,0 +1,55 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pwm/ipq-pwm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm IPQ6018 PWM controller > + > +maintainers: > + - Baruch Siach > + > +properties: > + "#pwm-cells": > + const: 2 > + > + compatible: > + const: qcom,ipq6018-pwm > + > + qcom,pwm-regs: > + $ref: '/schemas/types.yaml#/definitions/phandle-array' > + maxItems: 1 > + description: | > + phandle link and offset to TCSR block This binding should be a child of the TCSR I think as Bjorn asked. > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: core > + > +required: > + - "#pwm-cells" > + - compatible > + - qcom,pwm-regs > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + pwm { > + #pwm-cells = <2>; > + compatible = "qcom,ipq6018-pwm"; > + qcom,pwm-regs = <&tcsr_q6 0xa010>; > + clocks = <&gcc GCC_ADSS_PWM_CLK>; > + clock-names = "core"; > + }; > + }; > -- > 2.30.2 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel