Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2459613pxm; Fri, 25 Feb 2022 02:19:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnmKddZhyt8J4G1LrrGrRQ7kBJkCauH/OI25F4XFo8LK4gD9fyq5MS3uTPMUOoccSBp3vR X-Received: by 2002:a17:906:ae56:b0:6ce:375a:4b93 with SMTP id lf22-20020a170906ae5600b006ce375a4b93mr5723440ejb.189.1645784371683; Fri, 25 Feb 2022 02:19:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645784371; cv=none; d=google.com; s=arc-20160816; b=fmJUOMFpMl7Qu3aJsCE4dvO26dDeNK/+PZ7POlWK7UJlj9hEqsv4nP0sMEZJ5/NSH8 JSYKElsuYGI6tdm1IXZqBmizQ65V0gycXJNID+o+aMrAHi86Pn1HDseoUG/39dmqHkqD p8On/OPCjGDDYqVi9o8i+8EszFeX8Av+7XSuwLgFoOp2tWqh7CocWz4jdfoHfqFuBQZ/ 4A2qMBSPkR4dB32lhWY4uShqfsesGHtpFs3AEmc0gUXuXTKhLUYgMwsqPlpoxX97PeCS 0PzxazlWvLgBSJ/c2dadbEuoCrbVdstAcUIzzAtNy+42fwtJr87EFvI0FkhfNL2c+Z9/ eVEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pebQAfXF6XweYjs0eGI3bFR9spMrRG1FqYYUkNhfn+E=; b=ne9E3qTaQm8OKU7oe76dDKH457nYsohe5BjZrSd+jxDCdt8e2JdpvUibBovqDQJYrQ 4gb3cw4vDTnYg7NTIj6Gc/TofB9VUuac32rnpvBZRROv9LXu2zHl+ZXnoFBby/8y2nLi 9+iYEvRSjKZ4SkbYPpk9vswtINDjz8Pja/MFeSA93PehHdMlrZ3R/uCeNl4rmvBjUO3p tCqJnxjwCHf7oG1u+ety7KrYmFKgVteIWMhr7j3iDZFu4FBtMhr5r8H/DVi9m5WQIq9F pS3YZGO/+l021MUNylQ/AI1twaKfGq+ePBSkDUqxgUXJQ64CJ0P+wtQKYsLR98mq80mO P1hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Kl/dwA7J"; 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 z15-20020a056402274f00b0041330ad6045si1844603edd.567.2022.02.25.02.19.08; Fri, 25 Feb 2022 02:19:31 -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="Kl/dwA7J"; 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 S238227AbiBYHoy (ORCPT + 99 others); Fri, 25 Feb 2022 02:44:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238214AbiBYHow (ORCPT ); Fri, 25 Feb 2022 02:44:52 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE5052272E3 for ; Thu, 24 Feb 2022 23:44:20 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id 132so3930606pga.5 for ; Thu, 24 Feb 2022 23:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pebQAfXF6XweYjs0eGI3bFR9spMrRG1FqYYUkNhfn+E=; b=Kl/dwA7J9l0gxrWs8kMoBqr+lcMx8XxtSxViisuumNbHcyG2PUWuPy3+a5v+k4wPxW Hv0eHcxH9z1uv+5779eWO9UV65SXJflq3eRoH531R/3kG35qboZIhDdFJhvGkg5hh+Rw oMYmH/tYn66ot8W98dH0/liRAWSshqbU7RjtWMIcg7vQDIB5zlDRsLYwJJpVSvE65WH2 /BqanM+9joXU9QGK6FPHIIOBtuw2CqmFaWdT36d/R3FEt45+8uLFzltsKshoQ3ofxO+o sXAfLGSrU79VemMHEXTCZVyYq6CSWkZRQdUZtFY/pWonsuew09I1qG3gb5k8MD3rwUoa WYNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=pebQAfXF6XweYjs0eGI3bFR9spMrRG1FqYYUkNhfn+E=; b=yxQD/mblKpnA2QJPSD+55dcDINUNiRW6FXISdPDaqLxECgWhMVuXI1oMXPiU2szP9E nRoEhvkzcftvHb+2sacPZ3yxTGKPhhEAeoh+QxjrVA7dQUrykNZHzCr5K9GSiS3nmSg2 K7iOWCFPBYj3GDu63gfB5QKJ1qwFQvV+wxcyipoZ0JXW6M0IZJ76jbwipHC9FAlR0uKZ WZsClS9JY+QC2cJAFd4WX6qXQNfXWFi7D0Y/WfOT0w7MVryQKvaWcM79MDLfEpnCxr03 N+huGbJj7AjOxAed/8fkO7Bvojjhch7tMXBIMUTq1WjWwQG784dAjTxZWocXyWaWWuhi APrw== X-Gm-Message-State: AOAM530gUIvxjfukIcBSnIFVWm6hQf7Q1x0zEuWYB60B9FI+vvEhqzvZ Avw4/oitXIwwHcK5eAue8sa4 X-Received: by 2002:a63:ba5e:0:b0:372:9bb2:c12d with SMTP id l30-20020a63ba5e000000b003729bb2c12dmr5253196pgu.380.1645775060237; Thu, 24 Feb 2022 23:44:20 -0800 (PST) Received: from thinkpad ([220.158.159.240]) by smtp.gmail.com with ESMTPSA id nn17-20020a17090b38d100b001bc5a705fb2sm1480029pjb.26.2022.02.24.23.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 23:44:19 -0800 (PST) Date: Fri, 25 Feb 2022 13:14:15 +0530 From: Manivannan Sadhasivam To: Rohit Agarwal Cc: Bjorn Andersson , agross@kernel.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: qcom: Add chosen node information for SDX65. Message-ID: <20220225074415.GF274289@thinkpad> References: <1644574845-23248-1-git-send-email-quic_rohiagar@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, Feb 25, 2022 at 12:46:26PM +0530, Rohit Agarwal wrote: > > On 2/25/2022 1:14 AM, Bjorn Andersson wrote: > > On Fri 11 Feb 04:20 CST 2022, Rohit Agarwal wrote: > > > > > Add chosen node in the base dtsi file of SDX65. > > > > > While this happens to be the same on most boards, it is still a > > board-specific decision which UART is the debug uart, or if there is one > > at all... > > > > So this property should remain in the dts. > > > > Thanks, > > Bjorn > > Without the chosen node in base dtsi, the device is not booting up. > Can we have an empty chosen node in the base dtsi and the board-specific > details > updated in the respective dts file. The device boots up with this. > I believe this is something to do with bootloader. But still I don't understand how this matters at all since the bootloader finally parses the "dtb" only. Is the bootloader picking up correct dtb? Thanks, Mani > Thanks, > Rohit > > > > Signed-off-by: Rohit Agarwal > > > --- > > > arch/arm/boot/dts/qcom-sdx65-mtp.dts | 4 ---- > > > arch/arm/boot/dts/qcom-sdx65.dtsi | 4 ++++ > > > 2 files changed, 4 insertions(+), 4 deletions(-) > > > > > > diff --git a/arch/arm/boot/dts/qcom-sdx65-mtp.dts b/arch/arm/boot/dts/qcom-sdx65-mtp.dts > > > index 59457da..3a75c21 100644 > > > --- a/arch/arm/boot/dts/qcom-sdx65-mtp.dts > > > +++ b/arch/arm/boot/dts/qcom-sdx65-mtp.dts > > > @@ -14,10 +14,6 @@ > > > aliases { > > > serial0 = &blsp1_uart3; > > > }; > > > - > > > - chosen { > > > - stdout-path = "serial0:115200n8"; > > > - }; > > > }; > > > &blsp1_uart3 { > > > diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi > > > index 796641d..653df15 100644 > > > --- a/arch/arm/boot/dts/qcom-sdx65.dtsi > > > +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi > > > @@ -17,6 +17,10 @@ > > > qcom,msm-id = <458 0x10000>, <483 0x10000>, <509 0x10000>; > > > interrupt-parent = <&intc>; > > > + chosen { > > > + stdout-path = "serial0:115200n8"; > > > + }; > > > + > > > memory { > > > device_type = "memory"; > > > reg = <0 0>; > > > -- > > > 2.7.4 > > >