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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA9F5CCA489 for ; Tue, 26 Jul 2022 10:08:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238102AbiGZKI0 (ORCPT ); Tue, 26 Jul 2022 06:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232909AbiGZKIZ (ORCPT ); Tue, 26 Jul 2022 06:08:25 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6943F58A for ; Tue, 26 Jul 2022 03:08:23 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id p10so14410919lfd.9 for ; Tue, 26 Jul 2022 03:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ojyQ+PqrBED/t+SyNTD5eQfcGUJ/2jWYDAqwjA90+Dg=; b=KSYw/sS1ZIaAzFICjc+coAWpU38KFcf7YQ7tVCLB9t6ZqjWBYIe+RyFSm6+EDXb/vo k6OJ1tn/VDioRkMAvuTkxArqROpCYZCvqiF+Ybzii0DaQraJ587KGvv1QZ0K+tC/fp3b QEok5SX/JMaqzC3b2znbhZOADRbtuP+5pA/8i0Mgu1/fRmsOD8xXhSseh4OiFQ0uEyv+ EU30e6vxXYD4bLcVzRWEE/+0GW9RD0Hjp+yqc1oePfurnmensGzWX1A0xiN3GtKd+YVB CSD2IP477jOFTgLSkN8ijnpDK9QQnlmD/Z/ARNP00EX40SVR9busPpVPmE7OA8PJI2Tm f3ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ojyQ+PqrBED/t+SyNTD5eQfcGUJ/2jWYDAqwjA90+Dg=; b=vlJ+Pl5GaT8uKoDBHl51Zp/F2mJccVwPIx4MayLm7h1OFjpymI6LkrWKa9pYvH4Q3j OOPBGE5uoobN2ETFM7jmjnlEYKv//2MiZr0273u25ckMmzrP1J1F3eqHYyfjxyCmN0cQ Eo1SCbExtUsyE4hQltHCQ8dFL7iEKmfm/6i7K5UdO3PfsELOvnVC77mK/JxhMm+e28Ez 9tR17mf5sngzOCZou+eIB7qMDh0FdPcHwl3XrTQvlu+tcYsTRju07YNT0P3TQ1s0ejy8 XHwYljDqjeWm6IpRiVZCpG2wzEytR5Z5yaV7U5HTa8j8H3d3eFQsfMDpsfeEcEivWesX aRCA== X-Gm-Message-State: AJIora+qloJ/B4QXJE4eGz4uHQubKzWKQMKWDBxWTdnI3n/4g/9Kzu1i 2IgmClz+THaaLTPl0D2CYZQQOA== X-Google-Smtp-Source: AGRyM1uxPeD7ZsMKAfaSCSOhZK+89Wta+C27PW+mKfAPqnNH0k3b5cg9ab2b7VD9mjiAyzx8QgV8Ug== X-Received: by 2002:a05:6512:1598:b0:48a:7733:2dd2 with SMTP id bp24-20020a056512159800b0048a77332dd2mr5769981lfb.288.1658830101798; Tue, 26 Jul 2022 03:08:21 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id d25-20020a196b19000000b0047255d211b2sm3111442lfa.225.2022.07.26.03.08.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Jul 2022 03:08:21 -0700 (PDT) Message-ID: <308d6189-c100-e9fc-e4b2-0639d993e436@linaro.org> Date: Tue, 26 Jul 2022 12:08:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [[PATCH v2] 2/9] dt-bindings: pwm: snps,pwm add pwm number Content-Language: en-US To: Ben Dooks , linux-pwm@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , u.kleine-koenig@pengutronix.de, Thierry Reding , Krzysztof Kozlowski , Greentime Hu References: <20220725212140.741644-1-ben.dooks@sifive.com> <20220725212140.741644-2-ben.dooks@sifive.com> From: Krzysztof Kozlowski In-Reply-To: <20220725212140.741644-2-ben.dooks@sifive.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/07/2022 23:21, Ben Dooks wrote: > Add snps,pwm-number property to indicate if the block does not have > all 8 of the PWM blocks. > > Not sure if this should be a general PWM property consider optional > for all PWM types, so have added a specific one here (there is only > one other controller with a property for PWM count at the moment) > > Signed-off-by: Ben Dooks > --- > Documentation/devicetree/bindings/pwm/snps,pwm.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pwm/snps,pwm.yaml b/Documentation/devicetree/bindings/pwm/snps,pwm.yaml > index 594085e5e26f..e95f518b3974 100644 > --- a/Documentation/devicetree/bindings/pwm/snps,pwm.yaml > +++ b/Documentation/devicetree/bindings/pwm/snps,pwm.yaml > @@ -30,11 +30,16 @@ properties: > - const: bus > - const: timer > > + snps,pwm-number: > + $ref: '/schemas/types.yaml#/definitions/uint32' 1. No quotes 2. Add minimum and maximum (it looks like there are such). > + description: u32 value representing the number of PWM devices Best regards, Krzysztof