Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp567634imn; Tue, 26 Jul 2022 03:48:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1trS1D0V5ofw46FmL+DS4Z5+YCGJ6MTK8qGc5bEk/kvYosSSrGlkqDoAGnYMOpkukHzRyQK X-Received: by 2002:a05:6402:e96:b0:43a:f21f:42a0 with SMTP id h22-20020a0564020e9600b0043af21f42a0mr18155331eda.382.1658832485982; Tue, 26 Jul 2022 03:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658832485; cv=none; d=google.com; s=arc-20160816; b=BWI0PV/0A5yRJVdjoxuRfMHb203BfHK5Ew9hzwt3dDI4H+CpJ1JoFYtGEIeEWBo2xZ DRr5jELClAEcEjbPMrUeA6gae4wec5eYEgmVoK5myJA2GWO4KFR+wICb8Yg28y/B8WE0 HyQnQAwBD0pVrTUBxvEjT9Gnt3pgct/qcYvfDgqMlcYFJ4HcgH5fMoSDry9Hna1qCyNF klFbDoFdYcvBzTRFjh27zPg8i10fPmNRtdnhK7Ks3G4GuV08qXlSIpJiZKjDr400POS1 AxRKDIh2W8wyuJTa09/Hj/CDsBxXfBpJqHo51ShbkCNmp3/D3dzpgQRGjdtf64q6Arws 3I3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ojyQ+PqrBED/t+SyNTD5eQfcGUJ/2jWYDAqwjA90+Dg=; b=lyVbjYbzhKZw41swXSaleRpt0Rd/fCbGvtEchom7u3TTlyh9tDaasHQZmKed7opDuT DLLsPEhNx2riNhhwfuz7MKuQhBKkU9Yb+BvldTAuWza3s5wkRptBEhtYS8cLj3ivkpKl jGxmoN6GqGyllZMzv+4BXngPlTrpT94Lp2xrSXUZ6ENlpRDdseSiaEiRAonvg2+nbG1s eEwvtV+k+AMeLSz8PVfAqyCyGKNAvlClJtw82R2naxSY+ggvHFF5rmFVYZh7BxRthGCB DWSatT+S/Y22onKAkXih8ds+JZkETy76mA7nMtn4GP2DmouVeycB2ocwU5+HGGHuAwfY gqpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KSYw/sS1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk20-20020a1709077f9400b00711c8193ce8si18434323ejc.21.2022.07.26.03.47.40; Tue, 26 Jul 2022 03:48:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KSYw/sS1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237807AbiGZKI0 (ORCPT + 99 others); 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-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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