linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: geert@linux-m68k.org (Geert Uytterhoeven)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] pinctrl: sh-pfc: r8a7795: add SATA0 pin conf to DT
Date: Wed, 16 Dec 2015 11:11:30 +0100	[thread overview]
Message-ID: <CAMuHMdW3ZtvWkhZW1Locmu3WL1YixGrVAdiy7nKywkTiDB+X1w@mail.gmail.com> (raw)
In-Reply-To: <1450107758-2544-6-git-send-email-ulrich.hecht+renesas@gmail.com>

Hi Ulrich,

On Mon, Dec 14, 2015 at 4:42 PM, Ulrich Hecht
<ulrich.hecht+renesas@gmail.com> wrote:
> Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
> ---
>  arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> index 297c9f0..3d6c1e0 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> @@ -140,6 +140,10 @@
>         pinctrl-0 = <&scif_clk_pins>;
>         pinctrl-names = "default";
>
> +       sata0_pins: sata0 {
> +               renesas,groups = "sata0_devslp_a";

This pin is GP6_16, which is used for USB-OTG on Salvator-X, according to the
schematics?
It looks like the SATA DEVSLP feature is not used at all on Salvator-X.

Upon closer look, using the feature (on a board where the pin is connected)
would need a driver update, as the SATAEDEVSLPR register is not present on
R-Car Gen2, and thus not yet handled by the driver.

Hence I expect SATA to work fine without any pinctrl, and this patch should
just be dropped?

Can you please check? Thanks!

> +               renesas,function = "sata0";
> +       };
>         scif1_pins: scif1 {
>                 renesas,groups = "scif1_data_a", "scif1_ctrl";
>                 renesas,function = "scif1";
> @@ -269,6 +273,9 @@
>  };
>
>  &sata {
> +       pinctrl-0 = <&sata0_pins>;
> +       pinctrl-names = "default";
> +
>         status = "okay";
>  };

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2015-12-16 10:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 15:42 [PATCH 0/6] SATA for r8a7795, Salvator-X Ulrich Hecht
2015-12-14 15:42 ` [PATCH 1/6] clk: shmobile: r8a7795: Add SATA0 clock Ulrich Hecht
2015-12-15 10:41   ` Geert Uytterhoeven
2015-12-14 15:42 ` [PATCH 2/6] arm64: dts: r8a7795: Add SATA controller node Ulrich Hecht
2015-12-15 10:44   ` Geert Uytterhoeven
2015-12-15 11:21     ` Ulrich Hecht
2015-12-16  4:39       ` Simon Horman
2015-12-14 15:42 ` [PATCH 3/6] arm64: dts: salvator-x: Enable SATA controller Ulrich Hecht
2015-12-14 15:42 ` [PATCH 4/6] pinctrl: sh-pfc: r8a7795: Add SATA support Ulrich Hecht
2015-12-16  9:55   ` Geert Uytterhoeven
2015-12-14 15:42 ` [PATCH 5/6] pinctrl: sh-pfc: r8a7795: add SATA0 pin conf to DT Ulrich Hecht
2015-12-16 10:11   ` Geert Uytterhoeven [this message]
2015-12-16 10:23     ` Ulrich Hecht
2015-12-14 15:42 ` [PATCH 6/6] arm64: defconfig: Add Renesas R-Car SATA driver for R-Car Gen3 SoCs Ulrich Hecht
2015-12-15  4:22 ` [PATCH 0/6] SATA for r8a7795, Salvator-X Simon Horman

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=CAMuHMdW3ZtvWkhZW1Locmu3WL1YixGrVAdiy7nKywkTiDB+X1w@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).