Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619604

RE: [PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller

From Chris Brandt <Chris.Brandt@renesas.com>
Newsgroups linux.kernel
Subject RE: [PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller
Date 2017-04-10 04:40 +0200
Message-ID <tuxpf-33A-1@gated-at.bofh.it> (permalink)
References <tsTNf-3DV-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Jacopo,

On Wednesday, April 05, 2017, Jacopo Mondi wrote:
> v3 -> v4:
> - use "pinmux" property in pmx sub-nodes in place of "renesas,pins"
> - use pinconf standard properties to set pin mux additional flags
> - add "bi-directional" and "output-enable" to pinconf generic properties
> - perform pmx function parsing at dt_node_to_map() time
> - change DT bindings to use GENERIC_PINCONF
> - change DT bindings to allow sub-nodes to have "pinmux" property
> specified
> - several renames (register names, DT parse functions, set_mux() function)


I just tested this driver on the RZ/A1 RSK board.
The following worked good.

   SCIF2, I2C, SDHI, Ethernet


SDHI also has bi-direction pins. For your reference, here was my DT:


	/* SHDI ch1 on CN1 */
	sdhi1_pins: sdhi1 {
		pins {
			pinmux = <RZA1_PINMUX(3, 8, 7)>,	/* SD_CD_1 */
				 <RZA1_PINMUX(3, 9, 7)>,	/* SD_WP_1 */
				 <RZA1_PINMUX(3, 12, 7)>,	/* SD_CLK_1 */
				 <RZA1_PINMUX(3, 13, 7)>;	/* SD_CMD_1 */
		};

		pins_bidir {
			pinmux = <RZA1_PINMUX(3, 10, 7)>,	/* SD_D1_1 */
				 <RZA1_PINMUX(3, 11, 7)>,	/* SD_D0_1 */
				 <RZA1_PINMUX(3, 14, 7)>,	/* SD_D3_1 */
				 <RZA1_PINMUX(3, 15, 7)>;	/* SD_D2_1 */
			bi-directional;
		};
	};


Thanks,
Chris

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller Jacopo Mondi <jacopo+renesas@jmondi.org> - 2017-04-05 16:10 +0200
  [PATCH v4 7/9] arm: dts: genmai: Add RIIC2 pin group Jacopo Mondi <jacopo+renesas@jmondi.org> - 2017-04-05 16:10 +0200
  [PATCH v4 1/9] pinctrl: generic: Add bi-directional and output-enable Jacopo Mondi <jacopo+renesas@jmondi.org> - 2017-04-05 16:10 +0200
    Re: [PATCH v4 1/9] pinctrl: generic: Add bi-directional and  output-enable Rob Herring <robh@kernel.org> - 2017-04-10 20:10 +0200
    Re: [PATCH v4 1/9] pinctrl: generic: Add bi-directional and output-enable Linus Walleij <linus.walleij@linaro.org> - 2017-04-11 11:10 +0200
  [PATCH v4 5/9] arm: dts: r7s72100: Add pin controller node Jacopo Mondi <jacopo+renesas@jmondi.org> - 2017-04-05 16:20 +0200
  RE: [PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller Chris Brandt <Chris.Brandt@renesas.com> - 2017-04-10 04:40 +0200
  Re: [PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller Linus Walleij <linus.walleij@linaro.org> - 2017-04-11 11:10 +0200
    Re: [PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-11 11:20 +0200

csiph-web