Re: [PATCH 4/4] Implement gpio support for m54xx.

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

 



On Wednesday 21 May 2014 11:39:07 pm Geert Uytterhoeven wrote:
On Thu, May 22, 2014 at 1:00 AM,  <sfking@xxxxxxxxx> wrote:
+#define MCFGPIO_PODR           (MCF_MBAR + 0xA00)
+#define MCFGPIO_PDDR           (MCF_MBAR + 0xA10)
+#define MCFGPIO_PPDR           (MCF_MBAR + 0xA20)
+#define MCFGPIO_SETR           (MCF_MBAR + 0xA20)

The above two are identical. Is that intentional?

Yes.  Functionally, the PPDRs are read-only registers that when read, return the current state of the pins and the SETRs are write-only registers that for each pin configured as an output, if the corresponding bit in the write is a 1, the pin is driven high, and if the bit is 0, no effect.
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux