Re: [PATCH 4/5] pinctrl: sh-pfc: r8a77470: Add SDHI2 pin groups

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

 



> > 2) Specify SH_PFC_PIN_CFG_IO_VOLTAGE for every line that belongs to
> > the interface, keep the SD card pin groups as specified by this
> > patch, map all of the pins to the same bit in the POC register (as
> > per pin_to_pocctrl is concerned), and the board specific device tree
> > definitions would look like every other RZ/G1 or R-Car Gen2 boards
> > that support SDR* The only downside would be that the kernel would
> > read-modify-write the POC Control Register with the same value for
> > every line in the interface.

I don't think this multiple RMW is a problem.

> This looks the most sensible solution to me: just map in your
> .pin_to_pocctrl() method all pins of the interface to the single bit.

I didn't fully get if this one bit controls only the CLK wire or all the
relevant wires? I assume it is the latter one. For that, option 2) is
totally fine with me.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux