Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2466614rdg; Mon, 14 Aug 2023 03:38:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0Vj4tcFnIeLK2iGRuRrYhgk9rBycNGPRzpBMFIZlAJ0JpWm5o0fSig7j7NMCO0o9/mHHz X-Received: by 2002:a17:902:c404:b0:1bd:cde4:8b3a with SMTP id k4-20020a170902c40400b001bdcde48b3amr7752041plk.23.1692009537906; Mon, 14 Aug 2023 03:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692009537; cv=none; d=google.com; s=arc-20160816; b=g79LooBBnMIb8cRupxMhPgC6tPUrzW3Pfnfibg4KmJPDT44Mwbm24M1ucRj+7SclR8 LasIZxonL4gCWdj2fGNAdXJ5t9bD4jFXtfv042IReKVllyS1Bb8aSAX9NTr/kpGmFZrq 5mOi0J+zQUjXXGC90WwVNW2/ttseOhuxNz+q6A6MRC//B/3E6oAzqqRV2F+rmOwdYtIg hVnTq3AG1+8DdXurywv/5qffs2vtje8sjtiG1LTIxeacD0xVGE0mqbrwl831o2Ue5v0i LspwvJz92QCz0r4wP2+WXWRfaqv/oLIyc9sYv0Se8wDCUOZI2sdch9b1TWbB83xkA6aq O/tQ== 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=LRqVF33qCUOXraQnyAAk6bEaDjWUbzNHR/ptKTJ84R0=; fh=BBfL5XxCJvLW+EmATBL+NIh+K582snQPbHpm3lJrqLA=; b=iy9A2ko3Z7uU4RQKrVpEfSda1x27vbT3G4NS/JlnMIw9hur406pUMNzma5Ij8maIE8 psCPmGvxg2jIr2QIBLbUcN2uoSALSW/hjrRpQ/1BX92jOknGCZrZc9ecYGBw3O09+xkX Nvi86H2QAsDGvX7mZGnktqUoIoAeNE0KkwquqNEeLmAu0lmpMLAmCAnO9/Mdo8ggiMkk Z1v59dNifnyaB6DYCjTXK7okUwHt3MnqVk13D2vqfW0OFNXUz9Qzuda9TZxkBRvKWVcJ a91/FjO+zaU9wqLJBVXPS5ZuXqc9UmSi2TDQWznR/rT+CyKYh1BgDf8mG8bXAUSrn1LC 5CQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WSWsv3zb; 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 n14-20020a170902d2ce00b001b7d2b55d8asi8168985plc.626.2023.08.14.03.38.45; Mon, 14 Aug 2023 03:38:57 -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=WSWsv3zb; 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 S232482AbjHNKIQ (ORCPT + 99 others); Mon, 14 Aug 2023 06:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235876AbjHNKH6 (ORCPT ); Mon, 14 Aug 2023 06:07:58 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6794E10F5 for ; Mon, 14 Aug 2023 03:07:56 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-99bc512526cso545763266b.1 for ; Mon, 14 Aug 2023 03:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692007674; x=1692612474; 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=LRqVF33qCUOXraQnyAAk6bEaDjWUbzNHR/ptKTJ84R0=; b=WSWsv3zbtOufh/QBX2+khLWIuB9g+YjWvLOS6SbiXZBcUfIbi1UQkyMQLh2oBgENj4 MJO7FZ8DfzMJpqEPaqi6UJOQK+hTpcCw0oLxAx6jbccqFdaEO9/T50SozeQzEJ/5MeKK r1wiZFEKaQDSIAVAuOjeBbPWfQykM2iPYD2g71vdqjsBbJaQa8VPAxNq00mta9sL1Xzz 4oWPJMBr27aMXWTojt6Pj/gKhnaGocoZc78wevPdRZTTlwU21RhGJ35aqxTlC7/yuOTS LJZXhDx4gw+PktkttolEIlhMG9zLV3ldlJKOmh4srREekvhfg29Q/oL45fSEknK/1Kv8 vulQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692007674; x=1692612474; 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=LRqVF33qCUOXraQnyAAk6bEaDjWUbzNHR/ptKTJ84R0=; b=aMQ3x9tKhDS6t0oWrBi/9VZEAWPybNAxbT2/BKZX1aDltdmUb8RkaxkZU4ICCIigCG cvPb1M+1lxQd9QG1dWhUNHMIppu84/b6jzSdNcjAQjvTu3u7BOAILmDC63C/5SljkgK+ NW3MbDHj03k1ZLZ0I3rs4CZBgDJf2qXQjirb62tkHKcIhHhu3DXYsSjRkEjlyTxOAsbC QQE3owxu75GlSfBir7d4O5tw9qQOeLCyXJiC5mjeAXBuVkVmpWa73y4HlgxvJKWDEmML MVtMcgifG9RREk8go++Uj+rd0VxZT9qT8MeMJD/b1mvKQ1FsLrMh3G40vrA2rE8xfKpR skug== X-Gm-Message-State: AOJu0YwbmP2ZpKJom7siQ4crp1s6lmJAEW1FybuCWovXaB4BLnk9opZ4 k8o4hAjIGUHkWjvpCH5sWfNweA== X-Received: by 2002:a17:906:8a6d:b0:99c:ced6:842f with SMTP id hy13-20020a1709068a6d00b0099cced6842fmr6623020ejc.10.1692007674682; Mon, 14 Aug 2023 03:07:54 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id m22-20020a1709060d9600b00992a8a54f32sm5511124eji.139.2023.08.14.03.07.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Aug 2023 03:07:54 -0700 (PDT) Message-ID: <073974e2-c43a-ca3e-01c2-8a512bbaa0ec@linaro.org> Date: Mon, 14 Aug 2023 12:07:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v4 3/3] input: pm8xxx-vibrator: add new SPMI vibrator support 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 Cc: quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_kamalw@quicinc.com, jestar@qti.qualcomm.com References: <20230731053712.2220898-1-quic_fenglinw@quicinc.com> <20230731053712.2220898-4-quic_fenglinw@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20230731053712.2220898-4-quic_fenglinw@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 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 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 31/07/2023 07:37, Fenglin Wu wrote: ... > > pm8xxx_vib_set(vib, vib->active); > @@ -266,6 +310,7 @@ static const struct of_device_id pm8xxx_vib_id_table[] = { > { .compatible = "qcom,pm8058-vib", .data = &ssbi_vib_data }, > { .compatible = "qcom,pm8921-vib", .data = &ssbi_vib_data }, > { .compatible = "qcom,pm8916-vib", .data = &spmi_vib_data }, > + { .compatible = "qcom,spmi-vib-gen2", .data = &spmi_vib_gen2_data }, No, don't introduce new style of compatibles. All of the other cases use device-specific compatibles. Keep style consistent, especially that device specific is preferred. Best regards, Krzysztof