All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Łukasz Stelmach" <l.stelmach@samsung.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Kukjin Kim <kgene@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	netdev@vger.kernel.org, devicetree@vger.kernel.org,
	m.szyprowski@samsung.com, b.zolnierkie@samsung.com
Subject: Re: [PATCH 2/3] ARM: dts: Add ethernet
Date: Tue, 25 Aug 2020 20:49:14 +0200	[thread overview]
Message-ID: <20200825184914.GB2693@kozik-lap> (raw)
In-Reply-To: <20200825170311.24886-2-l.stelmach@samsung.com>

On Tue, Aug 25, 2020 at 07:03:10PM +0200, Łukasz Stelmach wrote:
> Add node for ax88796c ethernet chip.

Subject
  ARM: dts: exynos: Add Ethernet to Artik 5 board

> 
> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
> ---
>  arch/arm/boot/dts/exynos3250-artik5-eval.dts | 21 ++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> index 20446a846a98..44151a2cb35d 100644
> --- a/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> +++ b/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> @@ -37,3 +37,24 @@ &mshc_2 {
>  &serial_2 {
>  	status = "okay";
>  };
> +
> +&spi_0 {
> +		status = "okay";
> +		cs-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>, <0>;
> +
> +		assigned-clocks        = <&cmu CLK_MOUT_MPLL>, <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>,    <&cmu CLK_DIV_SPI0>,  <&cmu CLK_DIV_SPI0_PRE>, <&cmu CLK_SCLK_SPI0>;
> +		assigned-clock-parents = <&cmu CLK_FOUT_MPLL>, <&cmu CLK_MOUT_MPLL>,    <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>,     <&cmu CLK_DIV_SPI0_PRE>;
> +
> +		ax88796c@0 {
> +			compatible = "asix,ax88796c";

Isn't checkpatch complaining about undocumented compatible? I didn't see
a binding here.

> +			interrupt-parent = <&gpx2>;
> +			interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> +			spi-max-frequency = <40000000>;
> +			reg = <0x0>;
> +			reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>;

One line break.

> +			controller-data {
> +				samsung,spi-feedback-delay = <2>;
> +				samsung,spi-chip-select-mode;

What does samsung,spi-chip-select-mode mean? git grep does not find a binding.

> +		};
> +	};

Whatever formatting you used here, it is not Linux coding style. Please
fix indentation, linewrapping.

Best regards,
Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Łukasz Stelmach" <l.stelmach@samsung.com>
Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	b.zolnierkie@samsung.com, netdev@vger.kernel.org,
	Russell King <linux@armlinux.org.uk>,
	Rob Herring <robh+dt@kernel.org>,
	linux-kernel@vger.kernel.org, Kukjin Kim <kgene@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com
Subject: Re: [PATCH 2/3] ARM: dts: Add ethernet
Date: Tue, 25 Aug 2020 20:49:14 +0200	[thread overview]
Message-ID: <20200825184914.GB2693@kozik-lap> (raw)
In-Reply-To: <20200825170311.24886-2-l.stelmach@samsung.com>

On Tue, Aug 25, 2020 at 07:03:10PM +0200, Łukasz Stelmach wrote:
> Add node for ax88796c ethernet chip.

Subject
  ARM: dts: exynos: Add Ethernet to Artik 5 board

> 
> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
> ---
>  arch/arm/boot/dts/exynos3250-artik5-eval.dts | 21 ++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> index 20446a846a98..44151a2cb35d 100644
> --- a/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> +++ b/arch/arm/boot/dts/exynos3250-artik5-eval.dts
> @@ -37,3 +37,24 @@ &mshc_2 {
>  &serial_2 {
>  	status = "okay";
>  };
> +
> +&spi_0 {
> +		status = "okay";
> +		cs-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>, <0>;
> +
> +		assigned-clocks        = <&cmu CLK_MOUT_MPLL>, <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>,    <&cmu CLK_DIV_SPI0>,  <&cmu CLK_DIV_SPI0_PRE>, <&cmu CLK_SCLK_SPI0>;
> +		assigned-clock-parents = <&cmu CLK_FOUT_MPLL>, <&cmu CLK_MOUT_MPLL>,    <&cmu CLK_DIV_MPLL_PRE>, <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>,     <&cmu CLK_DIV_SPI0_PRE>;
> +
> +		ax88796c@0 {
> +			compatible = "asix,ax88796c";

Isn't checkpatch complaining about undocumented compatible? I didn't see
a binding here.

> +			interrupt-parent = <&gpx2>;
> +			interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> +			spi-max-frequency = <40000000>;
> +			reg = <0x0>;
> +			reset-gpios = <&gpe0 2 GPIO_ACTIVE_LOW>;

One line break.

> +			controller-data {
> +				samsung,spi-feedback-delay = <2>;
> +				samsung,spi-chip-select-mode;

What does samsung,spi-chip-select-mode mean? git grep does not find a binding.

> +		};
> +	};

Whatever formatting you used here, it is not Linux coding style. Please
fix indentation, linewrapping.

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-08-25 18:49 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20200825170322eucas1p2c6619aa3e02d2762e07da99640a2451c@eucas1p2.samsung.com>
2020-08-25 17:03 ` [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver Łukasz Stelmach
2020-08-25 17:03   ` Łukasz Stelmach
2020-08-25 17:03   ` [PATCH 2/3] ARM: dts: Add ethernet Łukasz Stelmach
2020-08-25 17:03     ` Łukasz Stelmach
2020-08-25 18:03     ` Andrew Lunn
2020-08-25 18:03       ` Andrew Lunn
2020-08-25 18:49     ` Krzysztof Kozlowski [this message]
2020-08-25 18:49       ` Krzysztof Kozlowski
2020-08-25 17:03   ` [PATCH 3/3] ARM: defconfig: Enable ax88796c driver Łukasz Stelmach
2020-08-25 17:03     ` Łukasz Stelmach
2020-08-25 18:51     ` Krzysztof Kozlowski
2020-08-25 18:51       ` Krzysztof Kozlowski
2020-08-26  5:11       ` Lukasz Stelmach
2020-08-26  5:11         ` Lukasz Stelmach
2020-08-26  6:46         ` Krzysztof Kozlowski
2020-08-26  6:46           ` Krzysztof Kozlowski
2020-08-25 17:19   ` [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver Randy Dunlap
2020-08-25 17:19     ` Randy Dunlap
2020-08-25 17:30     ` Lukasz Stelmach
2020-08-25 17:30       ` Lukasz Stelmach
2020-08-25 17:55       ` Randy Dunlap
2020-08-25 17:55         ` Randy Dunlap
2020-08-25 18:01   ` Andrew Lunn
2020-08-25 18:01     ` Andrew Lunn
2020-08-26  7:13     ` Geert Uytterhoeven
2020-08-26  7:13       ` Geert Uytterhoeven
2020-09-07 17:47       ` Lukasz Stelmach
2020-09-07 17:47         ` Lukasz Stelmach
2020-09-07 17:39     ` Lukasz Stelmach
2020-09-07 17:39       ` Lukasz Stelmach
2020-09-07 18:18       ` Andrew Lunn
2020-09-07 18:18         ` Andrew Lunn
2020-09-08 17:49         ` Lukasz Stelmach
2020-09-08 17:49           ` Lukasz Stelmach
2020-09-08 18:22           ` Andrew Lunn
2020-09-08 18:22             ` Andrew Lunn
2020-09-14 22:29       ` jim.cromie
2020-09-14 22:29         ` jim.cromie
2020-08-25 18:44   ` Krzysztof Kozlowski
2020-08-25 18:44     ` Krzysztof Kozlowski
2020-08-26 14:59     ` Lukasz Stelmach
2020-08-26 14:59       ` Lukasz Stelmach
2020-08-26 15:06       ` David Laight
2020-08-26 15:06         ` David Laight
2020-08-26 16:07         ` Andrew Lunn
2020-08-26 16:07           ` Andrew Lunn
2020-09-07 18:06         ` Lukasz Stelmach
2020-09-07 18:06           ` Lukasz Stelmach
2020-08-26 16:02       ` Andrew Lunn
2020-08-26 16:02         ` Andrew Lunn
2020-08-26 16:45       ` Krzysztof Kozlowski
2020-08-26 16:45         ` Krzysztof Kozlowski
2020-08-26 16:52         ` Krzysztof Kozlowski
2020-08-26 16:52           ` Krzysztof Kozlowski
2020-08-25 20:49   ` kernel test robot
2020-08-25 20:49     ` kernel test robot
2020-08-25 20:49     ` kernel test robot

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=20200825184914.GB2693@kozik-lap \
    --to=krzk@kernel.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=kuba@kernel.org \
    --cc=l.stelmach@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=m.szyprowski@samsung.com \
    --cc=netdev@vger.kernel.org \
    --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 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.