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 03CD4C38142 for ; Wed, 1 Feb 2023 08:20:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbjBAIUr (ORCPT ); Wed, 1 Feb 2023 03:20:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232116AbjBAIUp (ORCPT ); Wed, 1 Feb 2023 03:20:45 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9359F5DC3C for ; Wed, 1 Feb 2023 00:20:43 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id c10-20020a05600c0a4a00b003db0636ff84so752000wmq.0 for ; Wed, 01 Feb 2023 00:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qHijNrxsmFVl6xQqOdyyzxy38kClml8wWDt4vdhWN7A=; b=NEAEqVC5hjNMnavSu565K5QcGCm9fJ77EKxxbHh9he6vt3OEbu2I/Jxu4X46CAR6DB 9XMjjsVY1ML2hgAS94vWVfk6p8pAj8DBW66jSqEmuOpAdl5jPb6/jk1+N7LQx1gRGXfz 8mZQb8BV3+oeG2x8ns9wqDf8Fw9z+lCc8XG2dC2CZ9lSNr6GKfPflpEW9I0g1hdEmqDu SAED1K2SO9BpYTh/LpVAT5sUOqzXg62zIu2aKtpp98/k7JuyBfZUQyjhvrwRg2DltC0N ly+VAdSEgeCL9Y7MdG7GkWmYz/6iRqWc6YY0B7dtCdfjrdq0D5sZblI53TLuHmYv5g7K /x1g== 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: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=qHijNrxsmFVl6xQqOdyyzxy38kClml8wWDt4vdhWN7A=; b=v6aGLg6vWKepuU4CnoFI7bCIYFCPnpbd5PMNwqbvd9VPTrkzOrSYWFBclEZabd3Aic zbDaj7azBfPec1YNgTal02UdbXCVi6C2L0Q/IiRKGQwLM2Al+6kn/68CwLA/8iUsHyNl xWs7wRJVXxsXuMHV7FR+NnZ36T9I1QNfzz1SJ8O9a/29EImMF/JsIQUZcQcqPN8brloq 17qVwhz6epbTQQiETpXZbgx7BE2jVLqVPBcfz4ynP7nC/zsIEPYqQP4BPCuW3hrOKycD 2nd+FE2j90eg2XOh9nn3ZaheLNMh1em+cLODzbjTq3QcMlOIV7+p1ydHnWFjg+AD/Lr3 Vurw== X-Gm-Message-State: AO0yUKU/l+ah57AjVxWfCMHOH7kk2kcNdIDtoUr0xzoL9I83roBuv0r3 4v2hmh9Bxeg7vON7U0SGyjlBCQ== X-Google-Smtp-Source: AK7set9knuYzmtAKlJdlX6kTGKrf7DB+woOldSZFKeX1Wp8sVsfxsWquaaxGjdz62RdmxuuUCkXVHQ== X-Received: by 2002:a1c:f307:0:b0:3dc:50be:9206 with SMTP id q7-20020a1cf307000000b003dc50be9206mr1217756wmq.4.1675239642145; Wed, 01 Feb 2023 00:20:42 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id p17-20020a05600c05d100b003dc521f336esm964883wmd.14.2023.02.01.00.20.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 00:20:41 -0800 (PST) Message-ID: <1670489b-e4f0-7328-3dbb-d849d1d6bd7e@linaro.org> Date: Wed, 1 Feb 2023 09:20:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v5 2/3] dt-bindings: cpufreq: qcom-cpufreq-nvmem: make cpr bindings optional Content-Language: en-US To: Christian Marangi , Andy Gross , Bjorn Andersson , Konrad Dybcio , Ilia Lin , "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Stephen Boyd , Yassine Oudjana , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230131151819.16612-1-ansuelsmth@gmail.com> <20230131151819.16612-2-ansuelsmth@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230131151819.16612-2-ansuelsmth@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 31/01/2023 16:18, Christian Marangi wrote: > The qcom-cpufreq-nvmem driver supports 2 kind of devices: > - pre-cpr that doesn't have power-domains and base everything on nvmem > cells and multiple named microvolt bindings. > Doesn't need required-opp binding in the opp nodes as they are only > used for genpd based devices. > - cpr-based that require power-domain in the cpu nodes and use various > source to decide the correct voltage and freq > Require required-opp binding since they need to be linked to the > related opp-level. > > When the schema was introduced, it was wrongly set to always require these > binding but this is not the case for pre-cpr devices. > > Make the power-domain and the required-opp optional and set them required > only for qcs404 based devices. > > Fixes: ec24d1d55469 ("dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema") Fixes go as first patches in the series. Best regards, Krzysztof