Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5513414rwp; Mon, 17 Jul 2023 05:33:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNG+Iq7Cprg6faYhiFt2WjR0Dt+5VTWy+C5J0OogKK+QfjEZhUDvXSN2j0U91d7yB8Yl0A X-Received: by 2002:a17:902:c1d2:b0:1b8:3e15:40e8 with SMTP id c18-20020a170902c1d200b001b83e1540e8mr12279781plc.56.1689597214611; Mon, 17 Jul 2023 05:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689597214; cv=none; d=google.com; s=arc-20160816; b=wErdHUy5YIslArnePzLMV8cZ5MEBkSDXfnJLGu1k8s8uV7Vr2ZwAuIq5OkMrF2GYUK n4qd7P62WsSDKQJUPVXur9OUgbxA4UmnQNEAcGT4LG/jCYhbnVe9CtRX9EUflbqldoL7 hFATRZw6RKZ9+36UQ30KovH9WsvhgrzYmpXTdLzFYfVs10banJGEBody0RylOc5GUdXy b4jgepMf3A0CByLPNlrvRVkPDPutwqDIL0irs4xtZ1uJ/+ujuBOTuX0+7KVEew8nZUf1 Tk8RDbYsu6iH4PoldCvODSUkRyjWVXEAdZkecOJLVSOEOyOqm+RJW/Ylo38vLW5dC3Cd 7umQ== 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=2vhwu1zp3S5PiRdDu32pUjkHXYPNpSh6XO9BtN9Bqmk=; fh=ykqeYV+1XsvVHHL0x/LzhR+gmM19u+POduCK+ciCTFA=; b=h6PXkRvRBsw5jnrAOERTsNsCsMcLw04QwhfRQAnwHPyJ6vbolUkvOJvfnejp2gJ9n9 yrRu6p/eJaGi3YlwaeIhaP2YVqm884HmO7aNzk53DPW8CRvV5hA4/s/P8jBvIHw+d409 +144QKGrHb+cLgfApHJaPiRAaSQaLPIC57KyWjsPBnKaymH5k3QGdqrM3qBKKdPxkw7+ DpLoOZQ7Dzxj2KCY5xUrU1BWNiJ7hK+lehoHJ/pjjtt3ETZcVVT/ycFn7kWVDDuK+GV4 mpZIzRYS+wmeviK3H3Zs72tYpdlHzzrrOD8etBojN82fsgCAdsgQgzES+xPq9c3LAip4 /Udw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x8Kpuu7a; 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 ix22-20020a170902f81600b001ab1d1a6802si10900200plb.1.2023.07.17.05.33.22; Mon, 17 Jul 2023 05:33:34 -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=x8Kpuu7a; 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 S229659AbjGQMXF (ORCPT + 99 others); Mon, 17 Jul 2023 08:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjGQMXE (ORCPT ); Mon, 17 Jul 2023 08:23:04 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91D7135 for ; Mon, 17 Jul 2023 05:23:02 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9939fbb7191so913227366b.0 for ; Mon, 17 Jul 2023 05:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689596581; x=1692188581; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2vhwu1zp3S5PiRdDu32pUjkHXYPNpSh6XO9BtN9Bqmk=; b=x8Kpuu7atosaYgXr1dMB4cVtN0RBwRi9X2gwVon76DSiXtTX2vvl23/e5Svst2LMSL ixVyWJ/mvM/mxMBMFHgiGZuxaXrxuce+QMW3iFsWK/5UHiLWpPvQ30p2fPuXezclwT5u JwQ9JD+HZhA24SSm73STxLXKlzHYSGgSDoXy7pemnb7O2TCa/HkDGYY+Mu9SVen1VfHJ R2T80S64RwZy9CXAlDjxrDJzVxxQuPSWzhFeDlrqIJoVxpqeSVssAbIhDRcsYgPmviyO /+2IHLKIEd4GFmKMwaJBHMZvV1G8BNagDL4NRvHx+PO5KQnBlcJQ11fFwvvybNrFxVEs fxNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689596581; x=1692188581; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2vhwu1zp3S5PiRdDu32pUjkHXYPNpSh6XO9BtN9Bqmk=; b=PsesPuEIT4eD7CbyQ16fkrGB2VypXNWzCFnuE849fgLmXgShWqu4jQ0kI0vRYEzySr BgEWTMGIylEKicstNeZQ4wTfcQsyYM/eKW4Ea3xNCpSIASUMQc2R3LxmGDrk2rClsgpb FtzgrZgNEvk8uXwsaD8O+RTi3eqf0oSTl4JBmTsUG+oBF9wu8UxpCqSqB7oARFuZVJwG G2zsH0p8lHeC+hxr6CmUuRnlPimhZKvWZ/XkBu4bKCbW7HUq70VQSjMyqw+oX6Vt+CHo vf6xFiSQBVg8f9V2+oL7ye0iR/BOwCSb8OzPEXbPTlcj0AsD1CMEBk7cEcBBFhXzGIuz M07Q== X-Gm-Message-State: ABy/qLbFtH0H3le2Ljhmz+7d9nGzt8IeyG0nlt+Lnj0f3DeJpATONluy 6NDNqy9s2QC3UYSMrmVhUzxv3A== X-Received: by 2002:a17:906:2d1:b0:994:5457:269e with SMTP id 17-20020a17090602d100b009945457269emr9126055ejk.0.1689596581219; Mon, 17 Jul 2023 05:23:01 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id y27-20020a1709063a9b00b00992ca779f42sm9171089ejd.97.2023.07.17.05.22.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jul 2023 05:23:00 -0700 (PDT) Message-ID: <5b5299b6-a0b9-2ece-6c8c-5374ec18cd1c@linaro.org> Date: Mon, 17 Jul 2023 14:22:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible Content-Language: en-US To: Jaewon Kim , Thierry Reding , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org References: <20230717094202.18296-1-jaewon02.kim@samsung.com> <20230717094202.18296-2-jaewon02.kim@samsung.com> <9b09afec-4e0e-a600-92e1-2104a1b2e36e@linaro.org> <68aacadd-f27d-76d3-36a1-78f5662ecb97@samsung.com> From: Krzysztof Kozlowski In-Reply-To: <68aacadd-f27d-76d3-36a1-78f5662ecb97@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 17/07/2023 13:26, Jaewon Kim wrote: > > On 23. 7. 17. 19:59, Krzysztof Kozlowski wrote: >> On 17/07/2023 11:42, Jaewon Kim wrote: >>> Add samsung,exynosautov9-pwm compatible string to binding document. >>> >>> Signed-off-by: Jaewon Kim >>> --- >>> .../devicetree/bindings/pwm/pwm-samsung.yaml | 16 ++++++++++------ >>> 1 file changed, 10 insertions(+), 6 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml >>> index fe603fb1b2cc..6f65e2b52f52 100644 >>> --- a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml >>> +++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml >>> @@ -20,12 +20,16 @@ description: |+ >>> >>> properties: >>> compatible: >>> - enum: >>> - - samsung,s3c2410-pwm # 16-bit, S3C24xx >>> - - samsung,s3c6400-pwm # 32-bit, S3C64xx >>> - - samsung,s5p6440-pwm # 32-bit, S5P64x0 >>> - - samsung,s5pc100-pwm # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs >>> - - samsung,exynos4210-pwm # 32-bit, Exynos >>> + oneOf: >>> + - const: samsung,s3c2410-pwm # 16-bit >>> + - const: samsung,s3c6400-pwm # 32-bit, S3C64xx >>> + - const: samsung,s5p6440-pwm # 32-bit, S5P64x0 >>> + - const: samsung,s5pc100-pwm # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs >>> + - const: samsung,exynos4210-pwm # 32-bit, Exynos >> These are still an enum. > Okay I will change const to enum. >> >>> + - items: >>> + - enum: >>> + - samsung,exynosautov9-pwm # 32-bit, ExynosAutov9 >> Let's drop the comment? > > Should I just delete this comment or delete all comments in the > enum(16-bit,S3C24xx, .....). No, the other can stay. Here it is redundant, since Autov9 is obvious - comes from compatible - and rest is coming from compatibility with older models. Best regards, Krzysztof