From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DAA0ECAAD3 for ; Sun, 11 Sep 2022 13:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbiIKNh0 (ORCPT ); Sun, 11 Sep 2022 09:37:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiIKNhZ (ORCPT ); Sun, 11 Sep 2022 09:37:25 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5149527FFF for ; Sun, 11 Sep 2022 06:37:24 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id i26so10654641lfp.11 for ; Sun, 11 Sep 2022 06:37:24 -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=ae3obZ6xNwy7r5xGyrjRqVjIzsAgTF+V8+8P3DQs4ck=; b=tEI1Vb3SiFQt1nVT79g4fTkhzFwPN9946CF/OeoCGSN9UpKje900PJE8wgeKBTThrT O8YnrkKKbqhPPom9F+C6MQHKNHj1s5N71q/b4IfxSRPIGDLj6Olu2uXPgT5qbw6cRhDR KKiLFho0ROSXJDcCl/xyjA9leXK2OElJMVpPQ/K6SjcMAC6fei3AmY/RnKMpNKPXffPF PcoanndnxTTWf1TZXwYmO8wwQSNzurVFWQZ/3SQN2RZL38KmvU7j+FxQylaNe+4SMzip 6/gOiuzUjQupf7OlSseD1CSyFVFw6IxvkLZCDcx+O0pOolr4bzVYQfat0r0m2zE4Uzub 9h2A== 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=ae3obZ6xNwy7r5xGyrjRqVjIzsAgTF+V8+8P3DQs4ck=; b=W+foGOlnP/A+9wwc4CDlAdZhWRc0KxLo+JclzPg4I9nPK9ZR/tERq7dd7GRpHxadmc EfKvDyxp4+Edue0JZntrPPyk0v9vZgz10Iuw3IjH0kWJBhAWH3pL9WaWBw9BlJ/JRse9 oJazie7soC8i+ba4y+BTUwq9ZmWy8xADTspb+H7OvKPxYZA5r2fgbBKGIiU3SqHALDnp Zqe4MfLtvpcJivsCColro1mNUnFH5Ak+Pt54rz8kdXbvayhygl8t1u87BLU8H16wrVJQ h0H4e0aVwqICd9kdUh3HjLdQqbu+H+DKRmdjMdNkhZAOivFrHVmofaPQDjySP6S3xptE k1og== X-Gm-Message-State: ACgBeo2N0Pob5tfQIoaWEtBG+5mGcKViQA2sFnak7rbVAPBGLsqwDQeQ nGZZARM5yWGsZOWJ28Xch5qk7w== X-Google-Smtp-Source: AA6agR6uGBP6sA6xiTk67d6e5N6CPYKgmdLRbR9Iasd8iydXnoRVaZa1bUt07RKUKqCJzenAxNbF/g== X-Received: by 2002:a05:6512:2255:b0:492:ebbb:5f0d with SMTP id i21-20020a056512225500b00492ebbb5f0dmr7027817lfu.304.1662903442721; Sun, 11 Sep 2022 06:37:22 -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 y24-20020a199158000000b004947984b385sm616645lfj.87.2022.09.11.06.37.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Sep 2022 06:37:22 -0700 (PDT) Message-ID: Date: Sun, 11 Sep 2022 15:37:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [RFC PATCH 01/10] dt-bindings: thermal: tsens: support per-sensor calibration cells Content-Language: en-US To: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org References: <20220910124701.4060321-1-dmitry.baryshkov@linaro.org> <20220910124701.4060321-2-dmitry.baryshkov@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20220910124701.4060321-2-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 10/09/2022 14:46, Dmitry Baryshkov wrote: > Allow specifing the exact calibration mode and calibration data as nvmem > cells, rather than specifying just a single calibration data blob. > > Signed-off-by: Dmitry Baryshkov > --- > .../bindings/thermal/qcom-tsens.yaml | 64 ++++++++++++++++--- > 1 file changed, 54 insertions(+), 10 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > index 038d81338fcf..b813f6f19c1d 100644 > --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml > @@ -77,18 +77,62 @@ properties: > - const: critical > > nvmem-cells: > - minItems: 1 > - maxItems: 2 > - description: > - Reference to an nvmem node for the calibration data > + oneOf: > + - minItems: 1 > + maxItems: 2 > + description: > + Reference to an nvmem node for the calibration data > + - minItems: 5 > + maxItems: 35 > + description: | > + Reference to an nvmem cells for the calibration mode, two calibration s/an nvmem/nvmem/ Acked-by: Krzysztof Kozlowski Best regards, Krzysztof