Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5781144rwb; Sun, 11 Dec 2022 12:28:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5MzAyy1EcMyhhB3hKYjayRuHpCaFav3+s6DghVGqpOpA4t7vM8ycJLbdXWioGttIypXJUN X-Received: by 2002:a17:902:d510:b0:185:441e:90ae with SMTP id b16-20020a170902d51000b00185441e90aemr19332019plg.20.1670790513016; Sun, 11 Dec 2022 12:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670790512; cv=none; d=google.com; s=arc-20160816; b=xBP80NvKAMeOWk6pKjTha1jRNUYth83QHy6mGffD5XwetC61sjnkKRVOxbjjf1Qwq2 nMs9v5SvLl37S42ZRUJgdMwqxXir+m6RXHQLwsrEJD/1eSpYXo/CD4kl7horaX1nWIp1 cuQNE1MKeLfHky5dQQ3MMZ2Jao98rMR9C5eiNqrqzYcUVZsBwWJgdqbb8Bfb5VpRMZ3j FisnRqh08ummDcsQXmpNGYiOz2LsxfsL8NBwl7WouhyfKNXMkECbVvuc+92MkGM6EfpO FrwYz9vfEwUs+08vQtgrm72IlW7RK40JRARcU++wmLdxru/ok1ZFE8ggoljYgbuZI8US 1QWQ== 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=lCp/ySieBpCE0UL8/+M7g87XSws+FKSOLAOo3fkvAo8=; b=ybFxeclGnyXXWFkLyp2q0H7dFSPkIbkbVVrYh/o0hbAsxbOwndAD1Om8+N9lubpPLG quSir1yf5PIQ1ovFBBRMhQhiqy5fcNrXGInGSW6/eUWF8uTicC6/GDfiBej1soSXwcBF FlVwP2DKnsSnoHFisD+M7UPun/q/5bKYiaFQoWfwmw6hxx8RfdLAm4/RkuK3mSGnC0I2 1fngfJn6GOAKXbFSPAMX7T6BEjU5WbYHbPryKsakL+HcAKbwtX0vGB1Kvfs0RjCXH8Cs BGuR6hBlX7rOZpNa40GRmsut3/OkWJ5lC38n3IGEda958vIjteBSFHpD/bzXyQMFUwS/ ij7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z/Ok37gd"; 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 n10-20020a170902e54a00b00189ad19dd26si8447251plf.326.2022.12.11.12.28.22; Sun, 11 Dec 2022 12:28:32 -0800 (PST) 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="Z/Ok37gd"; 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 S230153AbiLKUOT (ORCPT + 77 others); Sun, 11 Dec 2022 15:14:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbiLKUON (ORCPT ); Sun, 11 Dec 2022 15:14:13 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2E7DF7A for ; Sun, 11 Dec 2022 12:14:12 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id v11so844186ljk.12 for ; Sun, 11 Dec 2022 12:14:12 -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:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lCp/ySieBpCE0UL8/+M7g87XSws+FKSOLAOo3fkvAo8=; b=Z/Ok37gdW6n87LSCqY3Oh/FjlezWwkQPeGq1YBGhUX5EJzi/9MC9Iia1CNg+ZSDsHs 8DcUiTFJ9UCs/FeptXhE30dKxhe1IrtkNwsqAaiGiYZNe7YGS9wtU/bYiP5ov2AD9Em6 0sM6oER8xBrNLClZzbBHM1SdVZwAI4XQ7tso4bQRnl/HfOFULomayMwaFFusa2tCpHUr 3kPAmkEW3Ku06hvJn9V4/2rN7c1Qr1E8fz/fXbgLXH7wiR0tfchVWOjhtNVpeWqh9Fdb 51wzuzpUPY1pzbeTukRrFFnb43418oCaBraf3Kpji7VFQmk5bLYvsL8fP8U016RjXn2B vuFg== 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:message-id:reply-to; bh=lCp/ySieBpCE0UL8/+M7g87XSws+FKSOLAOo3fkvAo8=; b=hPnwkvVcBxNkp95yOfSwQElYdsFzFmlxpkFif/I7P5n+5IkaGcJaQ07ZRrMrctVTMZ rQ6f0WXgyZyXF/4p2+UkyxM9AbtSnCaEK1EM29GIEVtnW82YdKLqZs+cqIchVPWnUs2l wkGr+9Ted2rygyvdrHLBKyf/8qFb8SDB0L9jT3E0o74Q0HQwKnlBDUNcZV62MbRMbxvq hLGdcpd+tttWAouhQxq7Rz1sWHHs717d3HZk7ubxUb9KP52UOcQKTeRsinRafpKKMzaA 1wwnTklfj8EZa/3Ejr1Z41nC3WhiCMnyhgZ86fgVZJO72iOHluCe6hZ4UkycNwvC8xpp BngA== X-Gm-Message-State: ANoB5pkDnY/a1fywgAQegveBatCx4XfpMDVh+sfMT6qR/pOpGQa7+8hs gfi2Vfa34g4UvIG5kK+IhqUwqw== X-Received: by 2002:a2e:bc1d:0:b0:279:ee82:e0f4 with SMTP id b29-20020a2ebc1d000000b00279ee82e0f4mr5059813ljf.32.1670789650961; Sun, 11 Dec 2022 12:14:10 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id m21-20020a2e7115000000b0026dce0a5ca9sm1029544ljc.70.2022.12.11.12.14.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Dec 2022 12:14:10 -0800 (PST) Message-ID: <77246ee3-8ff5-1049-6b2a-d8925bc87b33@linaro.org> Date: Sun, 11 Dec 2022 21:14:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 1/4] arm64: dts: qcom: sc7180: move QUP and QSPI opp tables out of SoC node Content-Language: en-US To: Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221210115704.97614-1-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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=ham 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 10/12/2022 13:29, Konrad Dybcio wrote: > > > On 10.12.2022 12:57, Krzysztof Kozlowski wrote: >> The SoC node is a simple-bus and its schema expect to have nodes only >> with unit addresses: >> >> sc7180-trogdor-lazor-r3.dtb: soc@0: opp-table-qspi: {'compatible': ['operating-points-v2'], 'phandle': [[186]], 'opp-75000000': >> ... 'required-opps': [[47]]}} should not be valid under {'type': 'object'} >> >> Move to top-level OPP tables: >> - QUP which is shared between multiple nodes, >> - QSPI which cannot be placed in its node due to address/size cells. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> arch/arm64/boot/dts/qcom/sc7180.dtsi | 76 ++++++++++++++-------------- >> 1 file changed, 38 insertions(+), 38 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> index ea886cf08b4d..735581097295 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi >> @@ -538,6 +538,44 @@ cpu6_opp16: opp-2553600000 { >> }; >> }; >> >> + qspi_opp_table: opp-table-qspi { >> + compatible = "operating-points-v2"; >> + >> + opp-75000000 { >> + opp-hz = /bits/ 64 <75000000>; >> + required-opps = <&rpmhpd_opp_low_svs>; >> + }; >> + >> + opp-150000000 { >> + opp-hz = /bits/ 64 <150000000>; >> + required-opps = <&rpmhpd_opp_svs>; >> + }; >> + >> + opp-300000000 { >> + opp-hz = /bits/ 64 <300000000>; >> + required-opps = <&rpmhpd_opp_nom>; >> + }; >> + }; >> + >> + qup_opp_table: opp-table-qup { >> + compatible = "operating-points-v2"; >> + >> + opp-75000000 { >> + opp-hz = /bits/ 64 <75000000>; >> + required-opps = <&rpmhpd_opp_low_svs>; >> + }; >> + >> + opp-100000000 { >> + opp-hz = /bits/ 64 <100000000>; >> + required-opps = <&rpmhpd_opp_svs>; >> + }; >> + >> + opp-128000000 { >> + opp-hz = /bits/ 64 <128000000>; >> + required-opps = <&rpmhpd_opp_nom>; >> + }; >> + }; >> + >> memory@80000000 { > Sidenote: memory@ should be moved above opp-*, alphabetically > > For this: > > Reviewed-by: Konrad Dybcio You sure? Because before there is already opp for cpu... Best regards, Krzysztof