Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp208720rwb; Wed, 28 Sep 2022 01:21:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79M8IkF3w0YcsNhu4ANi+8Y79Zvgkxrh2dGHGKnhWQVd+7PyNgD9V6XgM4gyPxuLhutuwm X-Received: by 2002:a17:906:eeca:b0:730:6880:c398 with SMTP id wu10-20020a170906eeca00b007306880c398mr26704394ejb.706.1664353296628; Wed, 28 Sep 2022 01:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664353296; cv=none; d=google.com; s=arc-20160816; b=zCza4ckIfh9+XgvIPBbJEbvvLWDhbNtZJ8KLKvgawYZcKoIN9iPjAhtG32GAw+gbly lLIAZgkNzvUlo8x5+aoEfHZ3jGzSfMCm18pGt5LMKq8tX6STaOV8/fYCIkCh7LtM4p5d OMqEbU9lttQ1Mnd2OY6mAFrvj/dce9mviRWqGAs2C1cb4OH6MUU1Np4R4hW3CYViTOA1 D2xQoF85NwMMsEf1YLAPXMPTarb8Qc0oSbprfSM6M8rfmc0ZG+0v60Bkq0xiQSciCUwR nmvwNzsBV/HiAybtrogiDz0LFGirFvgWuRArlj/9GD12Jt82xM+iak6APnAnYBfpyDLU jSTw== 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=T+twYSzMPRleSE9OznXaEMFrJJUZFkK7lBSk4Vw77aA=; b=H2agEJCWmX8r5DkkrzdbuIgGtEDXbp8QI76XN7kWWbwiMoMAbABwT6w0bV8jCeLna8 92rhev/HSTCHn5R5/oaCxkeF+FW5PzDuiK0RMwOz14711NsMMBC0B2CR5ip1Go8VIxK8 6jJrdGZMPrwTh0ww62hcYRs2zgmeAayaj5wz750lpNMxziNH7yaf1Jj1LFP7Tjhk+2bG LXVapz19p61iqR3uW0i8lJlnr/HbLmGN0BkTGvjd1wnAa/jvQVzNXrdgpsxtNlYOxRKW kE11ARn90myNJGD94LMeIa7p6wmtoelQtScDgu+G2Cf2W+3/wdtvFpoWmOxo+jvQo0Zc FliQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D1432DOl; 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 q18-20020a170906941200b0072ef52514f6si3629135ejx.629.2022.09.28.01.21.10; Wed, 28 Sep 2022 01:21:36 -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=D1432DOl; 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 S233783AbiI1Hku (ORCPT + 99 others); Wed, 28 Sep 2022 03:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233712AbiI1Hj6 (ORCPT ); Wed, 28 Sep 2022 03:39: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 D29257C1BB for ; Wed, 28 Sep 2022 00:38:15 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id dv25so25251011ejb.12 for ; Wed, 28 Sep 2022 00:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=T+twYSzMPRleSE9OznXaEMFrJJUZFkK7lBSk4Vw77aA=; b=D1432DOl/gFwxeJt0n2GOHt0Rhdmv87VJv4a7RA4E8I2u4j//Big6m/qFkNf6lTBpm W0ksnSWkRf8ETFnZqBTyFmTQqHTLcP25jTVvmyiqLiEUcnOk1v6+pfRYrVIaVj35bdq0 2jIlq8lnnOtEFlfxYAOyUlLsQvHkCrDnlsv7lXjf7W1xwdN+Rbm/cBsIMogB9442XXxF N3hLfFm8EtXWV+O3wC31QeV1XeN7X+oXgIzoxdirW8+WdNWVHIXhUyAuPbaAZyam9mMB APAQjRpEsRTkDGMRDOjGcZF6yOmSwbUI4syZsk7yb9slQNY9s/oHiv8YYy746pT98mxP NbWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=T+twYSzMPRleSE9OznXaEMFrJJUZFkK7lBSk4Vw77aA=; b=bYZC0tW24CLR5ghkPt7ePD2bDWTTgttD9qdoXuBTTLaH/y7fY7N4ToMn+e+G8XiV8X 5OY0dFpeXHCH1a2NpVp2zp7Y/ztWFPhxIAc7Gjmpp+CC2B1Q08Kr18AkfKywHMpSMhZD N6wLaO5clpE8p5BHAdLKnoSMj3mE8zgiU9CisP3D8bCVlV2bgiQ++gOxW/YdP8mhkTjj kKMVKAOadg4aq0TQok3aOaGB0AL/CvtNEnncNzcoiTrP5hZurmJD4PyrnXVVUPbFK3yg gsYeTruSLTuzOQ53mSrVkuuSELk8dGeInCkUHR+vYpbDHvx146pLyJjwrwxNWNGHTlE5 lbFw== X-Gm-Message-State: ACrzQf2F0TXORc2BAA7Vh5U6C07KA5HYYxm4g+cv73ikwBDTSkRvBLYS MzC9ccvDFApOb3ctLPAbH4cFmkz/SW4UwA== X-Received: by 2002:a05:6512:4005:b0:49e:6f0a:b09e with SMTP id br5-20020a056512400500b0049e6f0ab09emr12354347lfb.330.1664349972648; Wed, 28 Sep 2022 00:26:12 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u21-20020ac258d5000000b00494a27500c1sm393237lfo.163.2022.09.28.00.26.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Sep 2022 00:26:12 -0700 (PDT) Message-ID: Date: Wed, 28 Sep 2022 09:26:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 2/2] ARM: dts: qcom: pm8941: fix iadc node Content-Language: en-US To: Luca Weiss , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220925161821.78030-1-luca@z3ntu.xyz> <20220925161821.78030-2-luca@z3ntu.xyz> <74ef3de8-5be0-70ec-e34b-717ba93d3d77@linaro.org> <1828122.tdWV9SEqCh@g550jk> From: Krzysztof Kozlowski In-Reply-To: <1828122.tdWV9SEqCh@g550jk> 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_NONE, 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 26/09/2022 17:05, Luca Weiss wrote: > Hi Krzysztof, > > On Montag, 26. September 2022 10:54:23 CEST Krzysztof Kozlowski wrote: >> On 25/09/2022 18:18, Luca Weiss wrote: >>> The iadc node name is supposed to be just 'adc' and the compatible is >>> only supposed to be qcom,spmi-iadc according to the bindings. >>> >>> Adjust the node to match that. >>> >>> Signed-off-by: Luca Weiss >>> --- >>> >>> arch/arm/boot/dts/qcom-pm8941.dtsi | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi >>> b/arch/arm/boot/dts/qcom-pm8941.dtsi index 3c15eecf2f21..33517cccee01 >>> 100644 >>> --- a/arch/arm/boot/dts/qcom-pm8941.dtsi >>> +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi >>> @@ -131,8 +131,8 @@ adc-chan@48 { >>> >>> }; >>> >>> }; >>> >>> - pm8941_iadc: iadc@3600 { >>> - compatible = "qcom,pm8941-iadc", > "qcom,spmi-iadc"; >>> + pm8941_iadc: adc@3600 { >>> + compatible = "qcom,spmi-iadc"; >> >> I am not sure this is correct. Usually specific compatibles are encouraged. > > I'm happy to change it the other way also. > > But the sibling of this compatible, qcom,spmi-vadc also only has that single > compatible so it'd align it with that. Ugh, there is a mess around them. Some other ADCs have specific compatibles, some not, so there is no consistency. I propose to have device specific compatible with qcom,spmi-iadc fallback, so basically document the DTS in bindings. Maybe other IADC will need some quirks, so specific compatible helps here. Best regards, Krzysztof