All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: allwinner: h5: Remove syslink to shared DTSI
@ 2017-05-15  8:50 Maxime Ripard
  2017-05-16  7:46 ` Chen-Yu Tsai
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Ripard @ 2017-05-15  8:50 UTC (permalink / raw)
  To: linux-arm-kernel

The arm64 H5 and arm H3 SoCs share roughly the same base, and therefore
share a significant part of their device tree.

The approach we took was to add a symlink from the arm64 DTSI to the arm
DTSI.

Now that the arm DT folder is exposed in the include path, we can just use
it and remove our symlink.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi   | 2 +-
 arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
 delete mode 120000 arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
index 4d314a253fd9..732e2e06f503 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
@@ -40,7 +40,7 @@
  *     OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "sunxi-h3-h5.dtsi"
+#include <arm/sunxi-h3-h5.dtsi>
 
 / {
 	cpus {
diff --git a/arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi b/arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi
deleted file mode 120000
index 036f01dc2b9b..000000000000
--- a/arch/arm64/boot/dts/allwinner/sunxi-h3-h5.dtsi
+++ /dev/null
@@ -1 +0,0 @@
-../../../../arm/boot/dts/sunxi-h3-h5.dtsi
\ No newline at end of file
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm64: allwinner: h5: Remove syslink to shared DTSI
  2017-05-15  8:50 [PATCH] arm64: allwinner: h5: Remove syslink to shared DTSI Maxime Ripard
@ 2017-05-16  7:46 ` Chen-Yu Tsai
  2017-05-20  8:38   ` Maxime Ripard
  0 siblings, 1 reply; 3+ messages in thread
From: Chen-Yu Tsai @ 2017-05-16  7:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, May 15, 2017 at 4:50 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> The arm64 H5 and arm H3 SoCs share roughly the same base, and therefore
> share a significant part of their device tree.
>
> The approach we took was to add a symlink from the arm64 DTSI to the arm
> DTSI.
>
> Now that the arm DT folder is exposed in the include path, we can just use
> it and remove our symlink.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Acked-by: Chen-Yu Tsai <wens@csie.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm64: allwinner: h5: Remove syslink to shared DTSI
  2017-05-16  7:46 ` Chen-Yu Tsai
@ 2017-05-20  8:38   ` Maxime Ripard
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2017-05-20  8:38 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, May 16, 2017 at 03:46:36PM +0800, Chen-Yu Tsai wrote:
> On Mon, May 15, 2017 at 4:50 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > The arm64 H5 and arm H3 SoCs share roughly the same base, and therefore
> > share a significant part of their device tree.
> >
> > The approach we took was to add a symlink from the arm64 DTSI to the arm
> > DTSI.
> >
> > Now that the arm DT folder is exposed in the include path, we can just use
> > it and remove our symlink.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> 
> Acked-by: Chen-Yu Tsai <wens@csie.org>

Applied,

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170520/ecdca40f/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-20  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-15  8:50 [PATCH] arm64: allwinner: h5: Remove syslink to shared DTSI Maxime Ripard
2017-05-16  7:46 ` Chen-Yu Tsai
2017-05-20  8:38   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.