* [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64
@ 2015-06-16 14:35 Daniel Kurtz
2015-06-16 14:55 ` Will Deacon
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kurtz @ 2015-06-16 14:35 UTC (permalink / raw)
Cc: linux-mediatek, Nicolas Boichat, Olof Johansson, Eddie Huang,
Daniel Kurtz, Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell,
Kumar Gala, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND..., open list
The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards.
Create a link between the two.
This may not be the most scalable solution, so consider it temporary until
we find a more central repository for such shared .dtsi snippets.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
---
arch/arm64/boot/dts/cros-ec-keyboard.dtsi | 1 +
1 file changed, 1 insertion(+)
create mode 120000 arch/arm64/boot/dts/cros-ec-keyboard.dtsi
diff --git a/arch/arm64/boot/dts/cros-ec-keyboard.dtsi b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
new file mode 120000
index 0000000..42220ac
--- /dev/null
+++ b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
@@ -0,0 +1 @@
+../../../arm/boot/dts/cros-ec-keyboard.dtsi
\ No newline at end of file
--
2.2.0.rc0.207.ga3a616c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64
2015-06-16 14:35 [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64 Daniel Kurtz
@ 2015-06-16 14:55 ` Will Deacon
2015-06-17 4:13 ` Daniel Kurtz
0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2015-06-16 14:55 UTC (permalink / raw)
To: Daniel Kurtz
Cc: linux-mediatek@lists.infradead.org, Nicolas Boichat,
Olof Johansson, Eddie Huang, Rob Herring, Pawel Moll,
Mark Rutland, Ian Campbell, Kumar Gala, Catalin Marinas,
open list:OPEN FIRMWARE AND..., open list
On Tue, Jun 16, 2015 at 03:35:41PM +0100, Daniel Kurtz wrote:
> The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards.
> Create a link between the two.
>
> This may not be the most scalable solution, so consider it temporary until
> we find a more central repository for such shared .dtsi snippets.
I don't have strong opinions either way, but we should be consistent as
to whether we use relative paths:
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/350267.html
or symlinks, like below.
Does anybody have some technical arguments one way or the other?
Will
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
> ---
> arch/arm64/boot/dts/cros-ec-keyboard.dtsi | 1 +
> 1 file changed, 1 insertion(+)
> create mode 120000 arch/arm64/boot/dts/cros-ec-keyboard.dtsi
>
> diff --git a/arch/arm64/boot/dts/cros-ec-keyboard.dtsi b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
> new file mode 120000
> index 0000000..42220ac
> --- /dev/null
> +++ b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
> @@ -0,0 +1 @@
> +../../../arm/boot/dts/cros-ec-keyboard.dtsi
> \ No newline at end of file
> --
> 2.2.0.rc0.207.ga3a616c
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64
2015-06-16 14:55 ` Will Deacon
@ 2015-06-17 4:13 ` Daniel Kurtz
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kurtz @ 2015-06-17 4:13 UTC (permalink / raw)
To: Will Deacon
Cc: linux-mediatek@lists.infradead.org, Nicolas Boichat,
Olof Johansson, Eddie Huang, Rob Herring, Pawel Moll,
Mark Rutland, Ian Campbell, Kumar Gala, Catalin Marinas,
open list:OPEN FIRMWARE AND..., open list
On Tue, Jun 16, 2015 at 10:55 PM, Will Deacon <will.deacon@arm.com> wrote:
> On Tue, Jun 16, 2015 at 03:35:41PM +0100, Daniel Kurtz wrote:
>> The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards.
>> Create a link between the two.
>>
>> This may not be the most scalable solution, so consider it temporary until
>> we find a more central repository for such shared .dtsi snippets.
>
> I don't have strong opinions either way, but we should be consistent as
> to whether we use relative paths:
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-June/350267.html
>
> or symlinks, like below.
>
> Does anybody have some technical arguments one way or the other?
/include/ "../../../../arm/boot/dts/cros-ec-keyboard.dtsi"
Directly embedding the relative path to .dtsi in /arm/ from .dts in
/arm64/ is more straightforward and does not require maintaining extra
symlink .dtsi files.
I actually like it better than the symlink that I proposed :-).
Consider my patch abandoned, unless someone else feels strongly.
-Dan
>
> Will
>
>> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
>> ---
>> arch/arm64/boot/dts/cros-ec-keyboard.dtsi | 1 +
>> 1 file changed, 1 insertion(+)
>> create mode 120000 arch/arm64/boot/dts/cros-ec-keyboard.dtsi
>>
>> diff --git a/arch/arm64/boot/dts/cros-ec-keyboard.dtsi b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
>> new file mode 120000
>> index 0000000..42220ac
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/cros-ec-keyboard.dtsi
>> @@ -0,0 +1 @@
>> +../../../arm/boot/dts/cros-ec-keyboard.dtsi
>> \ No newline at end of file
>> --
>> 2.2.0.rc0.207.ga3a616c
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-17 4:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 14:35 [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64 Daniel Kurtz
2015-06-16 14:55 ` Will Deacon
2015-06-17 4:13 ` Daniel Kurtz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox