| Message ID | 20190426131817.16776-1-jagan@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBKMKRTTAKGQEXLFXVMQ@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C6BC33F089 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 26 Apr 2019 15:18:36 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id e19sf2199012pfd.19 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 26 Apr 2019 06:18:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556284715; cv=pass; d=google.com; s=arc-20160816; b=rUxUtin4jJO0HBrQcHTzVjhrxoN47D0LCQqGQbPHXYv5+Ah6j4LhGXTN3/yi7bJtIP la6kPaJcz1+76YNW/Mn2Fh1hCx4ZkcX72LI9ULz9hTXMts0tvoHtyiF7VArwAmyy8eBq plYaxin62oRhPNLwY6l0KTKpWiNd4A5/y3iF49xy2jNn9esYmkSP+ltajh85o6x6XrJ8 CrrVwBVzJ3Pxh7ncgSiUoBC43zBx9KfKJ4haAJUNIaoqXh2352lowE6s8vQzM2sd7uw3 CPeHNxeMc4pWNXXoDch0Qzi1zO+y2JAqQb4SAh+lXHYe4R/1Yd/2ur3jYuis3aXd07a+ Ro+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=IFcMkqfdvxt8/o1Omuk6f5Pq3QdPm4uZP9GervT22gw=; b=O2Ih9vx/Mtfs3T5BklPSZsKs/tKFBMEGIpy+d2HtIgQc2Cc45EiMyQM3FoML9U91RZ tURqdIvnqEKDuBIKPCHe5rTF5F+wCUH2P0u5ZNd3zTojB3bR8LzrLFwUuWw/X/T6YGMa S40zGoL6tG/JZNQIwfSESwJvRJB8Jslo1f2+lr2doVJINOLRzF3Ub9nshpuGD03Y6+BX p/B2/9GLqz6DVnYwV5NR7qaLTEOLATxVYHCvogLK8SCAiqMln6hB6BECRNf2u2d2OW7+ iTujVCFiB4SNVtxsmW+yTQHMYZyak9eFYKCeI/AriVmN/S3yhu2PqWR96LSqjteuaJuY tv/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=f5y2SF9C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=IFcMkqfdvxt8/o1Omuk6f5Pq3QdPm4uZP9GervT22gw=; b=PhyaTbYj7vy6RVQi5Kb4LuGB+3nhZgTu3mfJtuQi6fyz5MZyRWM7hITualBVH7lZsc rodI53p3eq12LF3xaNL/1wpBs3hLXRQ8jlcRdet5R4YtPwVDc0br9vw7GrFCkleDfUxF s0cbMNgTvZsJUqL4A3d+6ZNoQkb10EUaTk/yA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=IFcMkqfdvxt8/o1Omuk6f5Pq3QdPm4uZP9GervT22gw=; b=LVYm3RCbjti9/yI2Nn5Al5roT2/agSzplO0O35sGdHYVs2fowc5SJl5N3ri5HFL6b1 YH0+3RQGzmqQvIBHYfr1tU33rVRT/o2R7xP3TTl2Cf2ePtuxljeNKuyF2MzOwQhRutYo YBUVFWaETBv7NCeTe8FTBVOf4k//U7FA9LPIzOCAePG7btCAuWTrkVWdymSBO/0BJaRk D5c/VHR9Lkn2Xl8W5VFRkQJcjskN2pW+UNf6LPU+51+KauPJdSy3254z9XmikA9xcua+ 4APvHe5dnzHyNtI155a7cQLT0loHD43y8vCrttaT4sVIzBqB1cfGFoswrnYtYqUfJ0/j gsSg== X-Gm-Message-State: APjAAAWTez7ylyNOQNMy29Z1Oge0O2KsEp2wtoUy7GlRXcv5TadQFwL3 3zLuJ0kuFoMfgsz3IyBAqnCDASk4 X-Google-Smtp-Source: APXvYqyKWog38+m6Cjjg1H/EWh6Uf3goqc6taJ5DFOUn5BezyxJZZ8kudg6ArogkkS0VKo0/7M9CBA== X-Received: by 2002:a65:6294:: with SMTP id f20mr43062771pgv.415.1556284713553; Fri, 26 Apr 2019 06:18:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:aa08:: with SMTP id be8ls7065551plb.14.gmail; Fri, 26 Apr 2019 06:18:33 -0700 (PDT) X-Received: by 2002:a17:902:8a95:: with SMTP id p21mr158420plo.126.1556284713074; Fri, 26 Apr 2019 06:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556284713; cv=none; d=google.com; s=arc-20160816; b=NN1/TfqfsgbwO50X2B2wAzCQdJfvSq1GHUqAbJ0sl5aSS9S5BwXTdK27pmmEj4SdQp SaJRcU4SJnSPJLmLZULSC4PSxT+g8U8QxHVoFl4BfK86zddp3kdUkVeI00le5rydJQm7 pzF33XjJ9LXWSPVdLAJ2TKFoYHVBDWo7oveOICglIHsUr8DYCo8BKw7h12Uc5jphb34j kWev1EIoDTn1aYBb+OZyu+Fj/AWRSDZoI+dtpt1L0bZmBOFmY+4FUVWouikmJzZJiOPI sZoSOTvS20I5nuRxiGTZwOVFe32EFZ8Nga2saEvCYzV6pfc97S7cy11W3uPNVuUxVYpJ WDDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=/t7gUjkbYgdXJbAaBD4ltNm22pkrPDcJvCMntmBu5l0=; b=XS4VXStN1spgYixvEzlepqzQ23nyXEw27zASHChYW16Wfrzs5uBe/C/nspcpssbTdZ iMdKBaeI9KFQ2mMqrj8ffuVGATbD/lKY6xf/SQJrd7BmpXDXIj4wEuMIzheW45aSZWQp kUenxARZleD0c9R5aZGcqYN/E9lWn4CDXyPoXM+oIPCwP5PETIxU/WQmK/h3KaXm9K9r zSCBbbGUXXq/UvC7lICwGkMq+WrnEKrSe6z/H+LwNdWfEKSoxaPcuvM4j4Ee5yrrU37+ yAOhy4F16OTJA+K/1LJEPMNaWfB/IAYTVXh+crWLEPJRo9RCsujDC5bMPYEvD5Ly9luL +z0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=f5y2SF9C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i2sor516401pgq.75.2019.04.26.06.18.31 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Fri, 26 Apr 2019 06:18:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:2c06:: with SMTP id s6mr43766065pgs.245.1556284710700; Fri, 26 Apr 2019 06:18:30 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id r87sm42401721pfa.71.2019.04.26.06.18.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 06:18:29 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Kever Yang <kever.yang@rock-chips.com>, Akash Gajjar <akash@openedev.com> Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v3.1 03/13] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi Date: Fri, 26 Apr 2019 18:48:17 +0530 Message-Id: <20190426131817.16776-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=f5y2SF9C; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
None
|
|
Commit Message
Jagan Teki
April 26, 2019, 1:18 p.m. UTC
u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and which is U-Boot specific devicetrees binding. Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot bindings will move it future based on the requirement. This would help to sync the devicetrees from Linux whenever required instead of adding specific nodes. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> --- Changes for v3.1: - exclude changes for other dts files, since they handle separately. arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi
Comments
Hi, On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > which is U-Boot specific devicetrees binding. > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > bindings will move it future based on the requirement. > > This would help to sync the devicetrees from Linux whenever required > instead of adding specific nodes. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Since your patch has changed significantly, you can no longer include a Reviewed-by that was given on a previous iteration. It looks like we are still missing bits to have rk3399-u-boot.dtsi included, so this patch does not get my Reviewed-by tag. Cheers, Paul > --- > Changes for v3.1: > - exclude changes for other dts files, since they handle separately. > > arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi > > diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi > new file mode 100644 > index 0000000000..f533ed95eb > --- /dev/null > +++ b/arch/arm/dts/rk3399-u-boot.dtsi > @@ -0,0 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> > + */ > + > +&sdmmc { > + u-boot,dm-pre-reloc; > +};
On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > which is U-Boot specific devicetrees binding. > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > bindings will move it future based on the requirement. > > > > This would help to sync the devicetrees from Linux whenever required > > instead of adding specific nodes. > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > Since your patch has changed significantly, you can no longer include a > Reviewed-by that was given on a previous iteration. > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > included, so this patch does not get my Reviewed-by tag. It will include rockchip-u-boot.dtsi automatically and I made the receptive changes to include other files in this patch [1] and sure I will ask Philipp to remove the reviewed-by tag, thanks. [1] https://patchwork.ozlabs.org/patch/1091543/
Hi, On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > which is U-Boot specific devicetrees binding. > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > bindings will move it future based on the requirement. > > > > > > This would help to sync the devicetrees from Linux whenever required > > > instead of adding specific nodes. > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > Since your patch has changed significantly, you can no longer include a > > Reviewed-by that was given on a previous iteration. > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > included, so this patch does not get my Reviewed-by tag. > > It will include rockchip-u-boot.dtsi automatically and I made the > receptive changes to include other files in this patch [1] and sure I > will ask Philipp to remove the reviewed-by tag, thanks. Most importantly (now that I see the new series), you should certainly have sent that patch as part of your new series because we now have an inter-dependency between both series. Could you clean that up and make a proper standalone series that creates and populates rk3399-u-boot.dtsi? Cheers, Paul > [1] https://patchwork.ozlabs.org/patch/1091543/
On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > <paul.kocialkowski@bootlin.com> wrote: > > > Hi, > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > which is U-Boot specific devicetrees binding. > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > bindings will move it future based on the requirement. > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > instead of adding specific nodes. > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > Since your patch has changed significantly, you can no longer include a > > > Reviewed-by that was given on a previous iteration. > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > included, so this patch does not get my Reviewed-by tag. > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > receptive changes to include other files in this patch [1] and sure I > > will ask Philipp to remove the reviewed-by tag, thanks. > > Most importantly (now that I see the new series), you should certainly > have sent that patch as part of your new series because we now have an > inter-dependency between both series. It is not like an inter-dependency the previous rk3399-u-boot.dtsi is not included by these files so they would work as before. and now this series would need this change to include rk3399-u-boot.dtsi since the goal here to add binman node to common for all rk3399 dts files.
Hi, On Fri, 2019-04-26 at 19:20 +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski > <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > > <paul.kocialkowski@bootlin.com> wrote: > > > > Hi, > > > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > > which is U-Boot specific devicetrees binding. > > > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > > bindings will move it future based on the requirement. > > > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > > instead of adding specific nodes. > > > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > > > Since your patch has changed significantly, you can no longer include a > > > > Reviewed-by that was given on a previous iteration. > > > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > > included, so this patch does not get my Reviewed-by tag. > > > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > > receptive changes to include other files in this patch [1] and sure I > > > will ask Philipp to remove the reviewed-by tag, thanks. > > > > Most importantly (now that I see the new series), you should certainly > > have sent that patch as part of your new series because we now have an > > inter-dependency between both series. > > It is not like an inter-dependency the previous rk3399-u-boot.dtsi is > not included by these files so they would work as before. and now this > series would need this change to include rk3399-u-boot.dtsi since the > goal here to add binman node to common for all rk3399 dts files. Well, what I mean is that the latest series you sent mentions a dependency on the first one, when it really should be the other way round: you need the rework to make things in your first series work at all, since that dm-pre-reloc is necessary. We don't want to merge one broken series and then the fix for it later, even if it would still build in all cases. Here there is a clear logical dependency, in the reverse ordre to the one you are describing. In order to get this right, you need to take that v3.1 patch from the first series and stick first in the new one. When that's done, I'll be happy to move on to reviewing the code! Cheers, Paul
On Fri, Apr 26, 2019 at 7:28 PM Paul Kocialkowski <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > On Fri, 2019-04-26 at 19:20 +0530, Jagan Teki wrote: > > On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski > > <paul.kocialkowski@bootlin.com> wrote: > > > Hi, > > > > > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > Hi, > > > > > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > > > which is U-Boot specific devicetrees binding. > > > > > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > > > bindings will move it future based on the requirement. > > > > > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > > > instead of adding specific nodes. > > > > > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > > > > > Since your patch has changed significantly, you can no longer include a > > > > > Reviewed-by that was given on a previous iteration. > > > > > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > > > included, so this patch does not get my Reviewed-by tag. > > > > > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > > > receptive changes to include other files in this patch [1] and sure I > > > > will ask Philipp to remove the reviewed-by tag, thanks. > > > > > > Most importantly (now that I see the new series), you should certainly > > > have sent that patch as part of your new series because we now have an > > > inter-dependency between both series. > > > > It is not like an inter-dependency the previous rk3399-u-boot.dtsi is > > not included by these files so they would work as before. and now this > > series would need this change to include rk3399-u-boot.dtsi since the > > goal here to add binman node to common for all rk3399 dts files. > > Well, what I mean is that the latest series you sent mentions a > dependency on the first one, when it really should be the other way > round: you need the rework to make things in your first series work at > all, since that dm-pre-reloc is necessary. > > We don't want to merge one broken series and then the fix for it later, > even if it would still build in all cases. Here there is a clear > logical dependency, in the reverse ordre to the one you are describing. I don't understand your point, sorry. This patch [1] will make use of the new boards added on that series it will not effect existing or previous rk3399 boards. in that case why it is broken patch or series could you elaborate? the existing boards are already supported dm-pre-reloc on their respective devicetree files. [1] https://patchwork.ozlabs.org/patch/1091534/
Hi, On Fri, 2019-04-26 at 19:32 +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 7:28 PM Paul Kocialkowski > <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > > > On Fri, 2019-04-26 at 19:20 +0530, Jagan Teki wrote: > > > On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski > > > <paul.kocialkowski@bootlin.com> wrote: > > > > Hi, > > > > > > > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > > > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > > Hi, > > > > > > > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > > > > which is U-Boot specific devicetrees binding. > > > > > > > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > > > > bindings will move it future based on the requirement. > > > > > > > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > > > > instead of adding specific nodes. > > > > > > > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > > > > > > > Since your patch has changed significantly, you can no longer include a > > > > > > Reviewed-by that was given on a previous iteration. > > > > > > > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > > > > included, so this patch does not get my Reviewed-by tag. > > > > > > > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > > > > receptive changes to include other files in this patch [1] and sure I > > > > > will ask Philipp to remove the reviewed-by tag, thanks. > > > > > > > > Most importantly (now that I see the new series), you should certainly > > > > have sent that patch as part of your new series because we now have an > > > > inter-dependency between both series. > > > > > > It is not like an inter-dependency the previous rk3399-u-boot.dtsi is > > > not included by these files so they would work as before. and now this > > > series would need this change to include rk3399-u-boot.dtsi since the > > > goal here to add binman node to common for all rk3399 dts files. > > > > Well, what I mean is that the latest series you sent mentions a > > dependency on the first one, when it really should be the other way > > round: you need the rework to make things in your first series work at > > all, since that dm-pre-reloc is necessary. > > > > We don't want to merge one broken series and then the fix for it later, > > even if it would still build in all cases. Here there is a clear > > logical dependency, in the reverse ordre to the one you are describing. > > I don't understand your point, sorry. > > This patch [1] will make use of the new boards added on that series it > will not effect existing or previous rk3399 boards. in that case why > it is broken patch or series could you elaborate? the existing boards > are already supported dm-pre-reloc on their respective devicetree > files. On looks like I still didn't really get what you are trying to do. Let's try and recap the situation: - Currently, we have rk3399 boards with u-boot,dm-pre-reloc in their shared dtsi; - Your v3.1 adds rk3399-u-boot.dtsi but keeps the u-boot,dm-pre-reloc in each device since rk3399-u-boot won't be included. - Your new series allows rk3399-u-boot.dtsi to be included automatically, so we can move the per-common-device-dts u-boot,dm-pre- reloc to rk3399-u-boot.dtsi If that's correct, then it indeed makes sense the way it is proposed. Your commit messages just lack a clear explanation of what is going on here, since it's not quite trivial for anyone but you. Cheers, Paul > [1] https://patchwork.ozlabs.org/patch/1091534/
On Fri, Apr 26, 2019 at 7:46 PM Paul Kocialkowski <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > On Fri, 2019-04-26 at 19:32 +0530, Jagan Teki wrote: > > On Fri, Apr 26, 2019 at 7:28 PM Paul Kocialkowski > > <paul.kocialkowski@bootlin.com> wrote: > > > Hi, > > > > > > On Fri, 2019-04-26 at 19:20 +0530, Jagan Teki wrote: > > > > On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > Hi, > > > > > > > > > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > > > > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > > > Hi, > > > > > > > > > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > > > > > which is U-Boot specific devicetrees binding. > > > > > > > > > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > > > > > bindings will move it future based on the requirement. > > > > > > > > > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > > > > > instead of adding specific nodes. > > > > > > > > > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > > > > > > > > > Since your patch has changed significantly, you can no longer include a > > > > > > > Reviewed-by that was given on a previous iteration. > > > > > > > > > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > > > > > included, so this patch does not get my Reviewed-by tag. > > > > > > > > > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > > > > > receptive changes to include other files in this patch [1] and sure I > > > > > > will ask Philipp to remove the reviewed-by tag, thanks. > > > > > > > > > > Most importantly (now that I see the new series), you should certainly > > > > > have sent that patch as part of your new series because we now have an > > > > > inter-dependency between both series. > > > > > > > > It is not like an inter-dependency the previous rk3399-u-boot.dtsi is > > > > not included by these files so they would work as before. and now this > > > > series would need this change to include rk3399-u-boot.dtsi since the > > > > goal here to add binman node to common for all rk3399 dts files. > > > > > > Well, what I mean is that the latest series you sent mentions a > > > dependency on the first one, when it really should be the other way > > > round: you need the rework to make things in your first series work at > > > all, since that dm-pre-reloc is necessary. > > > > > > We don't want to merge one broken series and then the fix for it later, > > > even if it would still build in all cases. Here there is a clear > > > logical dependency, in the reverse ordre to the one you are describing. > > > > I don't understand your point, sorry. > > > > This patch [1] will make use of the new boards added on that series it > > will not effect existing or previous rk3399 boards. in that case why > > it is broken patch or series could you elaborate? the existing boards > > are already supported dm-pre-reloc on their respective devicetree > > files. > > On looks like I still didn't really get what you are trying to do. > Let's try and recap the situation: > > - Currently, we have rk3399 boards with u-boot,dm-pre-reloc in their > shared dtsi; No, the existing boards don't have shared dtsi that have u-boot,dm-pre-reloc instead they included on respective dts files. > - Your v3.1 adds rk3399-u-boot.dtsi but keeps the u-boot,dm-pre-reloc > in each device since rk3399-u-boot won't be included. This would keep sdmmc node only which is included by the new boards on that series only. > - Your new series allows rk3399-u-boot.dtsi to be included > automatically, so we can move the per-common-device-dts u-boot,dm-pre- > reloc to rk3399-u-boot.dtsi No, automatically I'm explicit including on respective -u-boot.dtsi > > If that's correct, then it indeed makes sense the way it is proposed. > Your commit messages just lack a clear explanation of what is going on > here, since it's not quite trivial for anyone but you. Please don't through stone, explain where it lacks. thanks. Look like you seems confusing or unclear, here is bit more explanation. The existing boards have u-boot,dm-pre-reloc for sdmmc on their individual dts(i) files, my series add added initial rk3399-u-boot.dtsi by including sdmmc node to use u-boot,dm-pre-reloc which is what in v3.1 and the same included by board dts files which I added on next patches. Jagan.
Hi, On Fri, 2019-04-26 at 19:55 +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 7:46 PM Paul Kocialkowski > <paul.kocialkowski@bootlin.com> wrote: > > Hi, > > > > On Fri, 2019-04-26 at 19:32 +0530, Jagan Teki wrote: > > > On Fri, Apr 26, 2019 at 7:28 PM Paul Kocialkowski > > > <paul.kocialkowski@bootlin.com> wrote: > > > > Hi, > > > > > > > > On Fri, 2019-04-26 at 19:20 +0530, Jagan Teki wrote: > > > > > On Fri, Apr 26, 2019 at 7:12 PM Paul Kocialkowski > > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > > Hi, > > > > > > > > > > > > On Fri, 2019-04-26 at 19:07 +0530, Jagan Teki wrote: > > > > > > > On Fri, Apr 26, 2019 at 7:04 PM Paul Kocialkowski > > > > > > > <paul.kocialkowski@bootlin.com> wrote: > > > > > > > > Hi, > > > > > > > > > > > > > > > > On Fri, 2019-04-26 at 18:48 +0530, Jagan Teki wrote: > > > > > > > > > u-boot,dm-pre-reloc is required for SDMMC booted rk3399 boards and > > > > > > > > > which is U-Boot specific devicetrees binding. > > > > > > > > > > > > > > > > > > Move it on global rk3399-u-boot.dtsi file and rest of the U-Boot > > > > > > > > > bindings will move it future based on the requirement. > > > > > > > > > > > > > > > > > > This would help to sync the devicetrees from Linux whenever required > > > > > > > > > instead of adding specific nodes. > > > > > > > > > > > > > > > > > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > > > > > > > > > Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > > > > > > > > > > > > > > > > Since your patch has changed significantly, you can no longer include a > > > > > > > > Reviewed-by that was given on a previous iteration. > > > > > > > > > > > > > > > > It looks like we are still missing bits to have rk3399-u-boot.dtsi > > > > > > > > included, so this patch does not get my Reviewed-by tag. > > > > > > > > > > > > > > It will include rockchip-u-boot.dtsi automatically and I made the > > > > > > > receptive changes to include other files in this patch [1] and sure I > > > > > > > will ask Philipp to remove the reviewed-by tag, thanks. > > > > > > > > > > > > Most importantly (now that I see the new series), you should certainly > > > > > > have sent that patch as part of your new series because we now have an > > > > > > inter-dependency between both series. > > > > > > > > > > It is not like an inter-dependency the previous rk3399-u-boot.dtsi is > > > > > not included by these files so they would work as before. and now this > > > > > series would need this change to include rk3399-u-boot.dtsi since the > > > > > goal here to add binman node to common for all rk3399 dts files. > > > > > > > > Well, what I mean is that the latest series you sent mentions a > > > > dependency on the first one, when it really should be the other way > > > > round: you need the rework to make things in your first series work at > > > > all, since that dm-pre-reloc is necessary. > > > > > > > > We don't want to merge one broken series and then the fix for it later, > > > > even if it would still build in all cases. Here there is a clear > > > > logical dependency, in the reverse ordre to the one you are describing. > > > > > > I don't understand your point, sorry. > > > > > > This patch [1] will make use of the new boards added on that series it > > > will not effect existing or previous rk3399 boards. in that case why > > > it is broken patch or series could you elaborate? the existing boards > > > are already supported dm-pre-reloc on their respective devicetree > > > files. > > > > On looks like I still didn't really get what you are trying to do. > > Let's try and recap the situation: > > > > - Currently, we have rk3399 boards with u-boot,dm-pre-reloc in their > > shared dtsi; > > No, the existing boards don't have shared dtsi that have > u-boot,dm-pre-reloc instead they included on respective dts files. I mean shared with Linux, so respective per-device dts files yes. Sorry, that was definitely unclear wording on my side. > > - Your v3.1 adds rk3399-u-boot.dtsi but keeps the u-boot,dm-pre-reloc > > in each device since rk3399-u-boot won't be included. > > This would keep sdmmc node only which is included by the new boards on > that series only. > > > - Your new series allows rk3399-u-boot.dtsi to be included > > automatically, so we can move the per-common-device-dts u-boot,dm-pre- > > reloc to rk3399-u-boot.dtsi > > No, automatically I'm explicit including on respective -u-boot.dtsi Yes you're right, though the result is the same. > > If that's correct, then it indeed makes sense the way it is proposed. > > Your commit messages just lack a clear explanation of what is going on > > here, since it's not quite trivial for anyone but you. > > Please don't through stone, explain where it lacks. thanks. It's the same issue as before, you are not putting enough context in the descriptions and they are only clear to someone who has already understood the issue. You need to make sure that someone who did not know about the issue has a clear idea of it after reading the commit log. I'm already trying to help by discussing the issue and presenting my understanding so you can get an idea of what point where unclear, but it's ultimately up to you to provide understandable commit messages for reviewers. > Look like you seems confusing or unclear, here is bit more > explanation. The existing boards have u-boot,dm-pre-reloc for sdmmc on > their individual dts(i) files, my series add added initial > rk3399-u-boot.dtsi by including sdmmc node to use u-boot,dm-pre-reloc > which is what in v3.1 and the same included by board dts files which I > added on next patches. Okay so I think I have a clear idea of what is going on now. Cheers, Paul
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi new file mode 100644 index 0000000000..f533ed95eb --- /dev/null +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com> + */ + +&sdmmc { + u-boot,dm-pre-reloc; +};