[U-Boot] [PATCH 12/23] x86: ich6_gpio: Convert to use proper DM API

Bin Meng bmeng.cn at gmail.com
Wed Feb 3 05:33:35 CET 2016


On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass <sjg at chromium.org> wrote:
> On 1 February 2016 at 02:40, Bin Meng <bmeng.cn at gmail.com> 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 <bmeng.cn at gmail.com>
>> ---
>>
>>  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 <sjg at chromium.org>
> Tested on Minnowmax:
> Tested-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86/master, thanks!


More information about the U-Boot mailing list