Re: [PATCH 1/2][RFC] pinctrl: sh-pfc: Initial R8A7795 PFC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent

> > +#define CPU_ALL_PORT(fn, sfx)						\
> > +	PORT_GP_32(0, fn, sfx),						\
> > +	PORT_GP_32(1, fn, sfx),						\
> > +	PORT_GP_32(2, fn, sfx),						\
> > +	PORT_GP_32(3, fn, sfx),						\
> > +	PORT_GP_32(4, fn, sfx),						\
> > +	PORT_GP_32(5, fn, sfx),						\
> > +	PORT_GP_32(6, fn, sfx),						\
> > +	PORT_GP_32(7, fn, sfx)
> 
> Not all GPIO banks include 32 pins. From a quick look at the datasheet the 
> following GPIO pins are available.

Thanks. will fix in next version

> > +	{ PINMUX_CFG_REG_VAR("MOD_SEL1", 0xe6060504, 32,
> > +			     2, 3, 1, 2, 3, 1, 1, 2, 1,
> > +			     2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1) {
(snip)
> > +		/* SEL_SCIF3 [1] */
> > +		FN_SEL_SCIF3_0,		FN_SEL_SCIF3_1,
> > +		/* SEL_SCIF2 [1] */
> > +		FN_SEL_SCIF2_0,		FN_SEL_SCIF2_1,
> > +		/* SEL_SCIF1 [1] */
> > +		FN_SEL_SCIF1_0,		FN_SEL_SCIF1_1,
> > +		/* SEL_SCIF [1] */
> > +		FN_SEL_SCIF_0,		FN_SEL_SCIF_1,
> > +		/* SEL_REMOCON [1] */
> > +		FN_SEL_REMOCON_0,	FN_SEL_REMOCON_1,
> > +		/* RESERVED [2] */
> > +		0, 0, 0, 0,
> 
> According to the datasheet those two bits are supposed to control the RDS 
> clock and data pins (whatever they are).

Thank you, but sorry.
Latest version indicates these are reserved bit.
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux