On 1 February 2016 at 02:40, Bin Meng <[email protected]> wrote:
> At present this GPIO driver still uses the legacy PCI API. Now that
> we have proper PCH drivers we can use those to obtain the information
> we need. While the device tree has nodes for the GPIO peripheral it is
> not in the right place. It should be on the PCI bus as a sub-peripheral
> of the PCH device.
>
> Update the device tree files to show the GPIO controller within the PCH,
> so that PCI access works as expected. This also adds #address-cells and
>
> Signed-off-by: Bin Meng <[email protected]>
> ---
>
>  arch/x86/dts/bayleybay.dts         |  86 ++++++++++++-------------
>  arch/x86/dts/chromebook_link.dts   |  42 ++++++-------
>  arch/x86/dts/chromebox_panther.dts |  44 ++++++-------
>  arch/x86/dts/crownbay.dts          |  30 ++++-----
>  arch/x86/dts/galileo.dts           |  28 +++++----
>  arch/x86/dts/minnowmax.dts         |  86 ++++++++++++-------------
>  drivers/gpio/intel_ich6_gpio.c     | 125 
> +++++++------------------------------
>  7 files changed, 186 insertions(+), 255 deletions(-)

Reviewed-by: Simon Glass <[email protected]>
Tested on Minnowmax:
Tested-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to