Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2352666rwi; Fri, 21 Oct 2022 02:54:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7qyFSw0giCOoZrg34KI/tMaijDtCtGmFxSyoh3z/ix+uLb8udI68CqgsweT0uQTElxLy+R X-Received: by 2002:a17:906:9fc1:b0:761:9192:504f with SMTP id hj1-20020a1709069fc100b007619192504fmr14912591ejc.116.1666346054025; Fri, 21 Oct 2022 02:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666346054; cv=none; d=google.com; s=arc-20160816; b=xdl6yEaypd1loa1gl9kyyIytIlsNwTpOYeVlwEltgtutgNTH2w4eiY6XcakyjAZihs YcwFlS2q1EggS7xlpJ2SyjHFy4ZR8cprDtbkQxJ7fGQpOXgtXJyxszBHeeS8gFqZ18xa 578NJ0trZq1mltXT50ouiK84qKOovlq2NiLkRWCbxNzmymOrvxdLzXBOarUTEC4GxKTQ j1tgG+EN+MmfykIeAZV1dmZgBuYBSpALoxecesWN6rxhKFNSKt8+GgsNUvgSrUSGHr3d egk0pSwrQB1Tzyb/mnmlW4ktKEjFz618AJetvDDBsKjyWzc0oL8PX2S2GcXG62nU9BYC rxpA== 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; bh=LGZZr5bDVSb2MA3/udKorvu/1VdWu0SoOyMuvpXsWnE=; b=f+i3O0lB/Y4cm/TbR2PjjwKzkI0ge8IA2T5yZxiGBewUZFJVHnOHA34Qb7Q7/ZvIfK 5IEU0RjGmu4UPOTJh0eoHS86qYv8+JAJQbjtZOWSW8nahrIeGqf864Ls5Y36wnVNxiLP Iq8yQ23RWN1N1ssOVUhbPiBzyQExvpEbalsW/xliFILR1FYbizshaJGCv/3uni5dy0tz Oo3PPrIAHw72GII/xTkV9YI69rrHA7oOp+ayPHglUT6OFuIj1yjnClzgd080sht8mJgW tdf0XALIxTe3c+T2iooOQt9RvHYhl47+DFJOycjzX0bwcGGP26wJ2mGNXfB8rN3XWq18 JfWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs13-20020a1709073e8d00b0078d9c0e8971si18925801ejc.752.2022.10.21.02.53.48; Fri, 21 Oct 2022 02:54:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230515AbiJUJRV (ORCPT + 99 others); Fri, 21 Oct 2022 05:17:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230520AbiJUJRF (ORCPT ); Fri, 21 Oct 2022 05:17:05 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [IPv6:2001:4b7a:2000:18::164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB3625641C; Fri, 21 Oct 2022 02:16:58 -0700 (PDT) Received: from [192.168.1.101] (95.49.29.134.neoplus.adsl.tpnet.pl [95.49.29.134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 2255F1F534; Fri, 21 Oct 2022 11:16:21 +0200 (CEST) Message-ID: <8443ca29-ea0f-f209-e3f6-20eca969ea7c@somainline.org> Date: Fri, 21 Oct 2022 11:16:20 +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 v4 11/11] arm: dts: qcom: mdm9615: remove useless amba subnode Content-Language: en-US To: Neil Armstrong , Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> <20220928-mdm9615-dt-schema-fixes-v4-11-dac2dfaac703@linaro.org> From: Konrad Dybcio In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-11-dac2dfaac703@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 21.10.2022 11:06, Neil Armstrong wrote: > The separate amba device node doesn't add anything significant to the > DT. The OF parsing code already creates amba_device or platform_device > depending on the compatibility lists. > > Acked-by: Krzysztof Kozlowski > Signed-off-by: Neil Armstrong > --- If we ever wanted to do split buses, per-NoC nodes would make sense, but as you mentioned, this does not, really. Reviewed-by: Konrad Dybcio Konrad > arch/arm/boot/dts/qcom-mdm9615.dtsi | 78 +++++++++++++++++-------------------- > 1 file changed, 36 insertions(+), 42 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi > index 9d950f96280d..482fd246321c 100644 > --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi > +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi > @@ -314,49 +314,43 @@ sdcc2bam: dma-controller@12142000{ > qcom,ee = <0>; > }; > > - amba { > - compatible = "simple-bus"; > - #address-cells = <1>; > - #size-cells = <1>; > - ranges; > - sdcc1: mmc@12180000 { > - status = "disabled"; > - compatible = "arm,pl18x", "arm,primecell"; > - arm,primecell-periphid = <0x00051180>; > - reg = <0x12180000 0x2000>; > - interrupts = ; > - clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; > - clock-names = "mclk", "apb_pclk"; > - bus-width = <8>; > - max-frequency = <48000000>; > - cap-sd-highspeed; > - cap-mmc-highspeed; > - vmmc-supply = <&vsdcc_fixed>; > - dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; > - dma-names = "tx", "rx"; > - assigned-clocks = <&gcc SDC1_CLK>; > - assigned-clock-rates = <400000>; > - }; > + sdcc1: mmc@12180000 { > + status = "disabled"; > + compatible = "arm,pl18x", "arm,primecell"; > + arm,primecell-periphid = <0x00051180>; > + reg = <0x12180000 0x2000>; > + interrupts = ; > + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; > + clock-names = "mclk", "apb_pclk"; > + bus-width = <8>; > + max-frequency = <48000000>; > + cap-sd-highspeed; > + cap-mmc-highspeed; > + vmmc-supply = <&vsdcc_fixed>; > + dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; > + dma-names = "tx", "rx"; > + assigned-clocks = <&gcc SDC1_CLK>; > + assigned-clock-rates = <400000>; > + }; > > - sdcc2: mmc@12140000 { > - compatible = "arm,pl18x", "arm,primecell"; > - arm,primecell-periphid = <0x00051180>; > - status = "disabled"; > - reg = <0x12140000 0x2000>; > - interrupts = ; > - clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; > - clock-names = "mclk", "apb_pclk"; > - bus-width = <4>; > - cap-sd-highspeed; > - cap-mmc-highspeed; > - max-frequency = <48000000>; > - no-1-8-v; > - vmmc-supply = <&vsdcc_fixed>; > - dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; > - dma-names = "tx", "rx"; > - assigned-clocks = <&gcc SDC2_CLK>; > - assigned-clock-rates = <400000>; > - }; > + sdcc2: mmc@12140000 { > + compatible = "arm,pl18x", "arm,primecell"; > + arm,primecell-periphid = <0x00051180>; > + status = "disabled"; > + reg = <0x12140000 0x2000>; > + interrupts = ; > + clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; > + clock-names = "mclk", "apb_pclk"; > + bus-width = <4>; > + cap-sd-highspeed; > + cap-mmc-highspeed; > + max-frequency = <48000000>; > + no-1-8-v; > + vmmc-supply = <&vsdcc_fixed>; > + dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; > + dma-names = "tx", "rx"; > + assigned-clocks = <&gcc SDC2_CLK>; > + assigned-clock-rates = <400000>; > }; > > tcsr: syscon@1a400000 { >