Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1853726rdb; Thu, 21 Sep 2023 01:06:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsT6v9AkK0KVgVpUIHLkWhuYvByYm/JFqlQbKeBfXnNnElt++8wwUnhTGWTRR9NkAeIupe X-Received: by 2002:a05:6808:1986:b0:3a7:b4e8:563e with SMTP id bj6-20020a056808198600b003a7b4e8563emr5406578oib.38.1695283579602; Thu, 21 Sep 2023 01:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695283579; cv=none; d=google.com; s=arc-20160816; b=zAsPcioZrPC7BOHDDiX++5Iohh9NwQFCXlZOTqdGJNls5XHJeUAIU/eNwwLoQ828FG o9F/wgsn7Y6nItViOp5abP/0qz87JIBRmoBt6zukKJc/pryTtQ9ooeE+b7OIWVlqxMWw I3wOA9PcLqHc2uVauy17La1uhC8R0pCsQImsSEWsCyuMHcJyIXKStzEVLeDQ3eco8f7O 7Ysgfvw6nYQbT8VKcFvVSpEFBbaUjTaGI1Gu1r41kgq6zQz8jpP+hwhLkL28iZtsLs26 8M//sfl7avKB0nnxkMle9zNREuMQNF43RO30XlvQduY5Pmq25svnWiwvrsbHK9R45VfJ ijdg== 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=FkXGC8/llEzHx22WCqyo1sMVOiWRsz/r1ftC1969lDw=; fh=qWWCpTFvgBH6A/ILdRC0dllDyUfc2lT1JesF8Rp55CE=; b=dYj5CgxL0Fk364J3MeooYHt3lhtxULP0LWLNu729Y88Ks/Ga5C80mG8e/PGPpIW/Jq wH5sTKMBLthU7bZH4SISss1nMAutQKdXCXM2Ku87Nm6WszrKpsOczN5qzg0lLKh0Q9JT oEtpvPFcBuguhV82u3V8s1IeClwegeng4Ue1im4Hs/jgOlpjzHO1TxwURGHDIwr8fAXr 3D1iESX9v7xzkeIZMc04HHtwRWY7lV2JBoMJYYcH+pVoOEjqlU8IwpjeWzPAJv7rnhHi ylWQJLDOufiLA/gB58y8xv4I/v7Zv6fSN6p231uX/lIsTmzovVZYmfC5eUUneVPlI5SS qvvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/JYnu2Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id u8-20020a056a00124800b0068fb1a85ec8si964245pfi.370.2023.09.21.01.06.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 01:06:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/JYnu2Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EEC78801F833; Wed, 20 Sep 2023 03:03:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234238AbjITKDO (ORCPT + 99 others); Wed, 20 Sep 2023 06:03:14 -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-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 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:03:15 -0700 (PDT) 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