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 758F0CE79B4 for ; Wed, 20 Sep 2023 10:03:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234303AbjITKDQ (ORCPT ); Wed, 20 Sep 2023 06:03:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234128AbjITKDN (ORCPT ); Wed, 20 Sep 2023 06:03:13 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D103CA9 for ; Wed, 20 Sep 2023 03:03:06 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52c4d3ff424so8316426a12.0 for ; Wed, 20 Sep 2023 03:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695204185; x=1695808985; darn=vger.kernel.org; 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=FkXGC8/llEzHx22WCqyo1sMVOiWRsz/r1ftC1969lDw=; b=F/JYnu2Zuexvcx3U7vAPXSJaJBDKVYg0w8bn+IQHHrUcJMc7xaOIKy6C163hQzGaxX HajZENZHl1twtxS0oq6sAQRJcpiRuszYBeFfNc/cz+ieQlqDvLWQs1vyZeW2c3AU5/Vt CpHMybXr9B+Ft+GQ5FaZPfCWqEubjBhlTJa5lOJkUdVxNT/HRf3wE4DPW+63paKL60NO NBcCfSWCwkOzmcb3DKeQeQ2E6aw2BddZawt05QGtKB4cGKgPNLzMsO1l2w1bunV+9Ek5 NxoCXHBLa6TZkjSSQQ1qetIwOloidwfqdUcBGEoGVMKwtXfH0aM6IWJF6hGxephEglBD Qzig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695204185; x=1695808985; 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=FkXGC8/llEzHx22WCqyo1sMVOiWRsz/r1ftC1969lDw=; b=ouay+QZBBgvirKRP4OZLol7vYYQi9xfAb2sVq57U9sjU5ZwfqnnaaPwo93MBVgNYbk Ab1WbGcvsIDhBSREMaK19rtD234L/jwmkHvXKVsChYwAmXGgUEiOrCvdJv49OVOUb+Pg phw4nDVJ1hacEOxPTGNgSpWT8pzXVtQOrLZbgWi85GTfBL0opmFlPGC0lTh3znNstqhZ glw3r7pJLnM89oZgAJuaad54WTnRj3U4ZaEWrQoRdgjnTzLDd/8WULPm3mIeN6IGRm6N 3kVIPiZFHKywAS6QBECOpnJHoLntDYEpJunDRVTXQi6K6zXlAAnS//V0ldpJbR+L2PDP ZPKw== X-Gm-Message-State: AOJu0YyGfcvsJq12H0+kLbF1nQ4QqzDQk3Hj6la4gxLVaGP1uCqTDgMW jdKRJuZpRPmnGCn2u15arAdtdA== X-Google-Smtp-Source: AGHT+IG6sJ+R1lkn+lfZVNrnVeKvzzEIZMu5ACOOPhlXnMNNxo3Svp7xYrZA+OV9whJvdn8P8ZsfMg== X-Received: by 2002:aa7:c98e:0:b0:51e:4439:f474 with SMTP id c14-20020aa7c98e000000b0051e4439f474mr1657874edt.35.1695204185176; Wed, 20 Sep 2023 03:03:05 -0700 (PDT) Received: from [172.20.86.172] (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id s29-20020a50d49d000000b00532bec5f768sm2084757edi.95.2023.09.20.03.03.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 03:03:04 -0700 (PDT) Message-ID: <93ff26cc-f9b9-a064-8597-bc1a754d2dc2@linaro.org> Date: Wed, 20 Sep 2023 12:03:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3 4/5] arm64: dts: qcom: add uart console support for SM4450 Content-Language: en-US To: Tengfei Fan , agross@kernel.org, andersson@kernel.org, tglx@linutronix.de, maz@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, catalin.marinas@arm.com, will@kernel.org Cc: geert+renesas@glider.be, arnd@arndb.de, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, peng.fan@nxp.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quic_tsoni@quicinc.com, quic_shashim@quicinc.com, quic_kaushalk@quicinc.com, quic_tdas@quicinc.com, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, quic_ajipan@quicinc.com, kernel@quicinc.com References: <20230920065459.12738-1-quic_tengfan@quicinc.com> <20230920065459.12738-5-quic_tengfan@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230920065459.12738-5-quic_tengfan@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/23 08:54, Tengfei Fan wrote: > Add base description of UART and TLMM nodes which helps SM4450 > boot to shell with console on boards with this SoC. > > Signed-off-by: Tengfei Fan > --- The SoC change must be separate from the board change. [...] Please leave a comment explaining what these GPIOs are used for. > +&tlmm { > + gpio-reserved-ranges = <0 4>, <136 1>; > +}; [...] > + qupv3_id_0: geniqup@ac0000 { > + compatible = "qcom,geni-se-qup"; > + reg = <0x0 0x00ac0000 0x0 0x2000>; > + ranges; > + clock-names = "m-ahb", "s-ahb"; > + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, > + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; property property-names [...] > + > + uart7: serial@a88000 { > + compatible = "qcom,geni-debug-uart"; > + reg = <0 0x00a88000 0 0x4000>; Use 0x0 consistently. > + clock-names = "se"; > + clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; property property-names > + interrupts = ; > + pinctrl-names = "default"; > + pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>; ditto [...] > + compatible = "qcom,sm4450-tlmm"; > + reg = <0 0x0f100000 0 0x300000>; Use 0x0 consistently > + interrupts = ; > + gpio-controller; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + gpio-ranges = <&tlmm 0 0 137>; > + wakeup-parent = <&pdc>; > + > + qup_uart7_rx: qup-uart7-rx-state { > + pins = "gpio23"; > + function = "qup1_se2_l2"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + qup_uart7_tx: qup-uart7-tx-state { > + pins = "gpio22"; > + function = "qup1_se2_l2"; > + drive-strength = <2>; > + bias-disable; > + }; > + }; > + > intc: interrupt-controller@17200000 { > compatible = "arm,gic-v3"; > reg = <0x0 0x17200000 0x0 0x10000>, /* GICD */ > @@ -476,7 +525,6 @@ > clocks = <&xo_board>; > }; > }; > - Totally unrelated change, fix the patch introducing it instead. Konrad