mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lukasz Stelmach <l.stelmach@samsung.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Rob Herring" <robh+dt@kernel.org>,
	"Kukjin Kim" <kgene@kernel.org>,
	"Anand Moon" <linux.amoon@gmail.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Bartłomiej Żolnierkiewicz" <b.zolnierkie@samsung.com>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>
Subject: Re: [PATCH 5/5] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2
Date: Tue, 03 Nov 2020 18:12:51 +0100	[thread overview]
Message-ID: <dleftjsg9qs6ss.fsf%l.stelmach@samsung.com> (raw)
In-Reply-To: <20201103164423.GE14739@kozik-lap> (Krzysztof Kozlowski's message of "Tue, 3 Nov 2020 17:44:23 +0100")

[-- Attachment #1: Type: text/plain, Size: 2396 bytes --]

It was <2020-11-03 wto 17:44>, when Krzysztof Kozlowski wrote:
> On Tue, Nov 03, 2020 at 01:46:18PM +0100, Łukasz Stelmach wrote:
>> Add Ethernet interface description for Odroid X/X2.
>> 
>> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
>> ---
>>  arch/arm/boot/dts/exynos4412-odroidx.dts | 28 ++++++++++++++++++++++++
>>  1 file changed, 28 insertions(+)
>> 
>> diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
>> index 3ea2a0101e80..8f154f431f6c 100644
>> --- a/arch/arm/boot/dts/exynos4412-odroidx.dts
>> +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
>> @@ -15,6 +15,10 @@ / {
>>  	model = "Hardkernel ODROID-X board based on Exynos4412";
>>  	compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
>>  
>> +	aliases {
>> +		ethernet = &ethernet;
>> +	};
>> +
>>  	memory@40000000 {
>>  		device_type = "memory";
>>  		reg = <0x40000000 0x3FF00000>;
>> @@ -72,8 +76,32 @@ &buck8_reg {
>>  };
>>  
>>  &ehci {
>> +	#address-cells = <1>;
>> +	#size-cells = <0>;
>>  	phys = <&exynos_usbphy 2>;
>>  	phy-names = "hsic0";
>> +
>> +	hub@2 {
>> +		compatible = "usb0424,3503";
>> +		reg = <2>;
>> +		#address-cells = <1>;
>> +		#size-cells = <0>;
>> +
>> +		hub@1 {
>> +			compatible = "usb0424:9514";
>
> Does not look like correct compatible.

As odd as it may seem (and considering my mistakes) this is correct.

--8<---------------cut here---------------start------------->8---
root@target:~# cat /proc/device-tree/compatible ; echo
hardkernel,odroid-x2samsung,exynos4412samsung,exynos4
root@target:~# lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
root@target:~# lsusb
Bus 001 Device 004: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 003: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 002: ID 0424:3503 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
--8<---------------cut here---------------end--------------->8---

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  parent reply	other threads:[~2020-11-03 17:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20201103124620eucas1p169f37e0bd1f30222cdc88de0675adf60@eucas1p1.samsung.com>
2020-11-03 12:46 ` [PATCH 0/5] Add Ethernet interface description for Odroid boards Łukasz Stelmach
     [not found]   ` <CGME20201103124620eucas1p14e76afe9fd53184f1a689b5a654e7e1e@eucas1p1.samsung.com>
2020-11-03 12:46     ` [PATCH 1/5] ARM: dts: exynos: Fix ethernet description for Odroid XU3 Łukasz Stelmach
2020-11-03 16:36       ` Krzysztof Kozlowski
     [not found]         ` <CGME20201103174153eucas1p1bde36909139c5662249eb5a1586504d7@eucas1p1.samsung.com>
2020-11-03 17:41           ` Lukasz Stelmach
2020-11-03 16:36       ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103124621eucas1p1e447d6d2eb3f29ecd657f0705f15960d@eucas1p1.samsung.com>
2020-11-03 12:46     ` [PATCH 2/5] ARM: dts: exynos: Add Ethernet interface description for Odroid X3 Lite Łukasz Stelmach
2020-11-03 16:38       ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103124621eucas1p23bae6351a79c0e271b68223a35dbd7f7@eucas1p2.samsung.com>
2020-11-03 12:46     ` [PATCH 3/5] ARM: dts: exynos: Add Ethernet interface description for Odroid XU Łukasz Stelmach
2020-11-03 16:40       ` Krzysztof Kozlowski
     [not found]   ` <CGME20201103124621eucas1p1a65f4d88466206a9646e139eaac3e1ed@eucas1p1.samsung.com>
2020-11-03 12:46     ` [PATCH 4/5] ARM: dts: exynos: Add Ethernet interface description for Odroid U3 Łukasz Stelmach
     [not found]   ` <CGME20201103124622eucas1p25be1feaf9194a0e6b183d041a574b406@eucas1p2.samsung.com>
2020-11-03 12:46     ` [PATCH 5/5] ARM: dts: exynos: Add Ethernet interface description for Odroid X/X2 Łukasz Stelmach
2020-11-03 16:44       ` Krzysztof Kozlowski
     [not found]         ` <CGME20201103171326eucas1p25d2ea836878fb2e4f56f31c166243c40@eucas1p2.samsung.com>
2020-11-03 17:12           ` Lukasz Stelmach [this message]
2020-11-03 17:22             ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dleftjsg9qs6ss.fsf%l.stelmach@samsung.com \
    --to=l.stelmach@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux.amoon@gmail.com \
    --cc=m.szyprowski@samsung.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®