Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2034249rwb; Thu, 27 Jul 2023 00:35:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnMWXP0ZdFr/nNnv4iEgefQXdZxEL0HOjEaNN+cN9kGPBxecicUxACWRY79PvFTfSWbe8U X-Received: by 2002:a05:6358:249f:b0:135:afe6:4f83 with SMTP id m31-20020a056358249f00b00135afe64f83mr2115732rwc.29.1690443340011; Thu, 27 Jul 2023 00:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690443339; cv=none; d=google.com; s=arc-20160816; b=cYBidPUKdCbFTfXXoZ0XAnHzgSqP4RuYqLZz7euaN81VHrJoyqZXXunj0N/G+VBkbn oIhI8pLVYWAC+8YVu/s/CIPUkrZm6k877gyl6ekTzmpri7JhK/0n6C/r/mYoOYjKlyfN AQbcPA8AhPzpH03LiKQuOLNL8eYXgzKHwIPT3eEL6FZjRgQP4IsR6hNtUeRXnIj5QDDu Aq/FWIkQ8qnBhKkuLvD18mDGB0VrqWP5wzCVeEEUYBVXv5F1AVIgEA8OK82doaL3Ux2i xDZb9iUm0qfP84ySGPMbT4RCUZK4TcRlijmXCYG4yVQeI7UbeZuPkuJu9fM08sKM0y0Q Wlng== 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=WuVS/PZjONA9J7GPCgyKbonCUah/ze6kISBj9WngEoY=; fh=7iC+K1Bo2+OaZhPZNOkG6w74KpnV63TEMVt+3d9HrjY=; b=nK+HJMjstmK65TM7mYYbi7Dxcj8Whz8NYlr2QDzXtdICpAX1Z+BtxTx8h2DQXtn4Ok 88AZesIgYFHswPCJLcafPLdGDWcwI6bS5k62dv3n2bJHUvio6aa5nkBsr4oyCzR4At8M payp6p2uiObCb0kKLaEJd5Sk1/IPX8tyV46HbO/IWoBB3jqbiFEDRlrxhWPQw93QUZ9A D/p50I8mRV0edkChljUSWJ3kGqDSIYg/W/dqndIU3m1mFyao/XTZyE5FlnXZQgbmPbP2 k0cmEiV0b1ka0bK/AynTfyCcgUskDh9e+kgFTgrtcdLwb6K1S0ZSk+OWSgEZYEjGrY9j 7f4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PMAgtuZU; 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 a21-20020a63e855000000b005439273f2a4si912260pgk.139.2023.07.27.00.35.27; Thu, 27 Jul 2023 00:35:39 -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=PMAgtuZU; 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 S233384AbjG0H1c (ORCPT + 99 others); Thu, 27 Jul 2023 03:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbjG0H1C (ORCPT ); Thu, 27 Jul 2023 03:27:02 -0400 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2878D7289 for ; Thu, 27 Jul 2023 00:16:15 -0700 (PDT) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-992e22c09edso73116766b.2 for ; Thu, 27 Jul 2023 00:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690441761; x=1691046561; 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=WuVS/PZjONA9J7GPCgyKbonCUah/ze6kISBj9WngEoY=; b=PMAgtuZU7frCtMUucTUCYT52+A2H3nvrcEGxZjDPb/mxMtYlKoM6N7T2nC9zCRuNLg dIRnaGNsAmhvkOJqwt9Y7j5Pjbhkx02aSNJAPzBbmmwb0X3v2J0I+M7/weDYoI0uuU6N L6AnTBd3+SmJ0nT8jWH6kEuc5UVIyr2ZH50binbN6WeKqVub8I1YQXTdObrv4B6H8gqT qgWXrbW6nRK/do1AwxeU/BKIT6+ndzBiAWcTYTcR36ry/ZBiC3zWzCL7nLDqu42K3kV0 8sat3BCH8medfAIhGmH7QP5ex48suAqtsL81+aqKJ1X3gvYByL3ycK8jPdwBvoVNvmQ2 q/eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690441761; x=1691046561; 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=WuVS/PZjONA9J7GPCgyKbonCUah/ze6kISBj9WngEoY=; b=T+qT2Mc7UDkHr0iCu4PGv77ZrQ4laP3Btj56hvEOsSrtzHnMlRMLYVRgG69TOzSjMh AS/gEuUH4HPaRSNjA7SxL5tqDxdFZXaAC04Pm02hyKvRB+zLlqjYcHGIFLb2HL1691uc Mj+o5T3kqZqMjxF2d/ZRp4F2XD7tf0LeB6ir7hhmpwD4lbp6NHKFkUNC/b7sVEXjAdRm RSEF1N4OB7o+suGAVMECnJhGnIC4K4rf0kAFd13EO8163H5hWXCeC3EIdv87KMWTUOY6 9R3lkrIVL1VWAicn7oFvVyBgk1DkB5rk+5hmTPasfHvkre7RNp2GPOGT4/iaH5nB/fg2 ZhZg== X-Gm-Message-State: ABy/qLYuNx7k1wuUDvedoeIhsc+TBhtD0d4CGdQ28oy0bSOP+yuF8pgp oEgPG2EXPzSWXYno9ZigEHzAng== X-Received: by 2002:a17:907:9051:b0:993:eef2:5d5d with SMTP id az17-20020a170907905100b00993eef25d5dmr1149153ejc.27.1690441761612; Thu, 27 Jul 2023 00:09:21 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id i10-20020a170906250a00b0099304c10fd3sm401382ejb.196.2023.07.27.00.09.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jul 2023 00:09:21 -0700 (PDT) Message-ID: <0185a53f-b3c4-6ec7-95ae-e74f0998d6c6@linaro.org> Date: Thu, 27 Jul 2023 09:09:19 +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 v3 2/3] dt-bindings: input: qcom,pm8xxx-vib: add new SPMI vibrator module Content-Language: en-US To: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, agross@kernel.org, andersson@kernel.org, dmitry.baryshkov@linaro.org, Konrad Dybcio , Dmitry Torokhov , linux-input@vger.kernel.org, devicetree@vger.kernel.org Cc: quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_kamalw@quicinc.com, jestar@qti.qualcomm.com References: <20230725054138.129497-1-quic_fenglinw@quicinc.com> <20230725054138.129497-3-quic_fenglinw@quicinc.com> <3aaccc94-59b3-31d3-eac7-f8926f8c88ff@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <3aaccc94-59b3-31d3-eac7-f8926f8c88ff@quicinc.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,RCVD_IN_MSPIKE_H2,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 25/07/2023 08:26, Fenglin Wu wrote: > > > On 7/25/2023 1:53 PM, Krzysztof Kozlowski wrote: >> On 25/07/2023 07:41, Fenglin Wu wrote: >>> Add compatible string 'qcom,spmi-vib-gen2' for vibrator module inside >>> PMI632, PMI7250B, PM7325B, PM7550BA. Also, add 'qcom,spmi-vib-gen1' >>> string for the SPMI vibrator inside PM8916 to maintain the completeness >>> of the hardware version history for SPMI vibrators. >>> >>> Signed-off-by: Fenglin Wu >>> --- >>> .../bindings/input/qcom,pm8xxx-vib.yaml | 18 ++++++++++++++---- >>> 1 file changed, 14 insertions(+), 4 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml >>> index c8832cd0d7da..ab778714ad29 100644 >>> --- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml >>> +++ b/Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.yaml >>> @@ -11,10 +11,20 @@ maintainers: >>> >>> properties: >>> compatible: >>> - enum: >>> - - qcom,pm8058-vib >>> - - qcom,pm8916-vib >>> - - qcom,pm8921-vib >>> + oneOf: >>> + - enum: >>> + - qcom,pm8058-vib >>> + - qcom,pm8916-vib >>> + - qcom,pm8921-vib >>> + - qcom,spmi-vib-gen1 >>> + - qcom,spmi-vib-gen2 >> >> Generic compatibles should not be alone. Drop both lines. > > Sure. I will remove 'qcom,spmi-vib-gen2'. > Should I also keep 'qcom,spmi-vib-gen1' as generic compatible and move > 'qcom,pm8916-vib' as its fallback as following? I would drop all of generic ones. Entirely remove qcom,spmi-vib-gen2 and qcom,spmi-vib-gen1. Use device specific compatibles names only. As fallback and as first compatible. Best regards, Krzysztof