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 93B04C636D4 for ; Wed, 1 Feb 2023 08:20:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231883AbjBAIUr (ORCPT ); Wed, 1 Feb 2023 03:20:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231661AbjBAIUp (ORCPT ); Wed, 1 Feb 2023 03:20:45 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 909E45DC17 for ; Wed, 1 Feb 2023 00:20:43 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id j32-20020a05600c1c2000b003dc4fd6e61dso720095wms.5 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=P7KSMZHJNEZcghC7ol7vppZ9WRQTDD4cf8mtSHgL5+SnO7iXAGKjvVWcpNoMgh9Mnd rhbWm28cX6YnSKs5GwJs65Y7UWk12iGdKPwgZfbv2Dye0isVfRPcclQEg1G/qHIJOZeu 3pLtr5ErYz1+Rqnc1UYcLpETchpN5soS5FWDhJOe7uDOgeZyzg4OOT2IC9SnZGcq+66A npxVndIjLCcw0D+zgdPqPcOnyYVtlU/RKQL0GipsVMZc+F0wdiUzba6sxkzfEfG+8JTG ViapdvDhmprw2ovlZqAXQXBZZhekiYZDYLMz5O+g7q0iRzNUpcI8VsxK7q1ApH7VGHen uXjA== X-Gm-Message-State: AO0yUKVPghgXYlQhued1/tUzPRRjlmlAGPnP7ZWCkEAvblvhBBrXRtnf 0qMTL5pS9YgED1KocHtVaCSl+Q== 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: devicetree@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