Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1430099 > unrolled thread
| Started by | megous@megous.com |
|---|---|
| First post | 2016-06-23 21:40 +0200 |
| Last post | 2016-06-25 03:20 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 01/14] ARM: dts: sun8i: Add SID node megous@megous.com - 2016-06-23 21:40 +0200
Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node Chen-Yu Tsai <wens@csie.org> - 2016-06-24 04:50 +0200
Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node Ondřej Jirman <megous@megous.com> - 2016-06-24 22:00 +0200
Re: [linux-sunxi] Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node Chen-Yu Tsai <wens@csie.org> - 2016-06-25 03:20 +0200
| From | megous@megous.com |
|---|---|
| Date | 2016-06-23 21:40 +0200 |
| Subject | [PATCH 01/14] ARM: dts: sun8i: Add SID node |
| Message-ID | <rNiDM-6cT-25@gated-at.bofh.it> |
From: Josef Gajdusek <atx@atx.name>
Add a node describing the Security ID memory to the Allwinner H3 .dtsi file.
Signed-off-by: Josef Gajdusek <atx@atx.name>
---
arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 4a4926b..172576d 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -389,6 +389,13 @@
#size-cells = <0>;
};
+ sid: eeprom@01c14000 {
+ compatible = "allwinner,sun4i-a10-sid";
+ reg = <0x01c14000 0x400>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
usbphy: phy@01c19400 {
compatible = "allwinner,sun8i-h3-usb-phy";
reg = <0x01c19400 0x2c>,
--
2.9.0
[toc] | [next] | [standalone]
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Date | 2016-06-24 04:50 +0200 |
| Message-ID | <rNplU-2cT-11@gated-at.bofh.it> |
| In reply to | #1430099 |
On Fri, Jun 24, 2016 at 3:20 AM, <megous@megous.com> wrote:
> From: Josef Gajdusek <atx@atx.name>
>
> Add a node describing the Security ID memory to the Allwinner H3 .dtsi file.
>
> Signed-off-by: Josef Gajdusek <atx@atx.name>
> ---
> arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
> index 4a4926b..172576d 100644
> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
> @@ -389,6 +389,13 @@
> #size-cells = <0>;
> };
>
> + sid: eeprom@01c14000 {
> + compatible = "allwinner,sun4i-a10-sid";
This has been discussed before. The hardware is not compatible.
The write control registers are at different offsets.
ChenYu
> + reg = <0x01c14000 0x400>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + };
> +
> usbphy: phy@01c19400 {
> compatible = "allwinner,sun8i-h3-usb-phy";
> reg = <0x01c19400 0x2c>,
> --
> 2.9.0
>
[toc] | [prev] | [next] | [standalone]
| From | Ondřej Jirman <megous@megous.com> |
|---|---|
| Date | 2016-06-24 22:00 +0200 |
| Message-ID | <rNFqG-447-11@gated-at.bofh.it> |
| In reply to | #1430317 |
[Multipart message — attachments visible in raw view] — view raw
Hello,
thank you for the review.
On 24.6.2016 04:41, Chen-Yu Tsai wrote:
> On Fri, Jun 24, 2016 at 3:20 AM, <megous@megous.com> wrote:
>> From: Josef Gajdusek <atx@atx.name>
>>
>> Add a node describing the Security ID memory to the Allwinner H3 .dtsi file.
>>
>> Signed-off-by: Josef Gajdusek <atx@atx.name>
>> ---
>> arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
>> index 4a4926b..172576d 100644
>> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
>> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
>> @@ -389,6 +389,13 @@
>> #size-cells = <0>;
>> };
>>
>> + sid: eeprom@01c14000 {
>> + compatible = "allwinner,sun4i-a10-sid";
>
> This has been discussed before. The hardware is not compatible.
> The write control registers are at different offsets.
I'm not sure what you mean by write control registers. Code in
sunxi_sid.c implements only read access to the nvram. Can you pelase
elaborate?
Ondrej
>
> ChenYu
>
>> + reg = <0x01c14000 0x400>;
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + };
>> +
>> usbphy: phy@01c19400 {
>> compatible = "allwinner,sun8i-h3-usb-phy";
>> reg = <0x01c19400 0x2c>,
>> --
>> 2.9.0
>>
[toc] | [prev] | [next] | [standalone]
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Date | 2016-06-25 03:20 +0200 |
| Subject | Re: [linux-sunxi] Re: [PATCH 01/14] ARM: dts: sun8i: Add SID node |
| Message-ID | <rNKql-7oE-9@gated-at.bofh.it> |
| In reply to | #1430909 |
Hi,
On Sat, Jun 25, 2016 at 3:58 AM, Ondřej Jirman <megous@megous.com> wrote:
> Hello,
>
> thank you for the review.
>
> On 24.6.2016 04:41, Chen-Yu Tsai wrote:
>> On Fri, Jun 24, 2016 at 3:20 AM, <megous@megous.com> wrote:
>>> From: Josef Gajdusek <atx@atx.name>
>>>
>>> Add a node describing the Security ID memory to the Allwinner H3 .dtsi file.
>>>
>>> Signed-off-by: Josef Gajdusek <atx@atx.name>
>>> ---
>>> arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++++++
>>> 1 file changed, 7 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
>>> index 4a4926b..172576d 100644
>>> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
>>> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
>>> @@ -389,6 +389,13 @@
>>> #size-cells = <0>;
>>> };
>>>
>>> + sid: eeprom@01c14000 {
>>> + compatible = "allwinner,sun4i-a10-sid";
>>
>> This has been discussed before. The hardware is not compatible.
>> The write control registers are at different offsets.
>
> I'm not sure what you mean by write control registers. Code in
> sunxi_sid.c implements only read access to the nvram. Can you pelase
> elaborate?
See http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/388022.html
Also, different compatibles are used for different hardware, regardless
of how close the drivers may be. The driver might only be compatible when
implementing a subset of the possible features. If one were to fully
implement it, they would become incompatible.
To put it another way, the compatible string designates the hardware,
and the driver implements support for that compatible string.
ChenYu
> Ondrej
>
>>
>> ChenYu
>>
>>> + reg = <0x01c14000 0x400>;
>>> + #address-cells = <1>;
>>> + #size-cells = <1>;
>>> + };
>>> +
>>> usbphy: phy@01c19400 {
>>> compatible = "allwinner,sun8i-h3-usb-phy";
>>> reg = <0x01c19400 0x2c>,
>>> --
>>> 2.9.0
>>>
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web