All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/7] dm: x86: Convert ICH driver fully to driver model PCI API
Date: Mon, 30 Nov 2015 21:11:19 -0700	[thread overview]
Message-ID: <1448943086-1079-1-git-send-email-sjg@chromium.org> (raw)

This is a small series to move the ICH driver over to use the driver model
PCI API. It involves creating PCH drivers which the ICH driver can use to
find out its base address.

At present irq-router is the 'PCH' node in most device tree files. This is
not really correct since the router is just one of the functions of the PCH.
Another is the SPI bus. So this series also moves irq-router down a level.
This still works with the same irq-router driver, since it just searches for
the first compatible node it can find.

A driver-model-compatible irq-router driver should be written but that is
left for later.

This series unfortunately needs testing on each board since each has a
separate change. I have tested minnowmax and chromebook_link so far.


Simon Glass (7):
  dm: pci: Move pci_bus_to_hose() to compatibility
  dm: pci: Add a function to write a BAR
  dm: pci: Avoid using pci_bus_to_hose() in the uclass
  dm: Expand the uclass for Peripheral Controller Hubs (PCH)
  dm: x86: Add a driver for Intel PCH7
  dm: x86: Add a driver for Intel PCH9
  dm: x86: spi: Convert ICH SPI driver to driver model PCI API

 arch/x86/cpu/irq.c                         |   7 +-
 arch/x86/cpu/ivybridge/bd82x6x.c           |  11 ++
 arch/x86/dts/bayleybay.dts                 | 160 +++++++++++++++--------------
 arch/x86/dts/broadwell_som-6896.dts        |  23 +++--
 arch/x86/dts/chromebook_link.dts           |   3 +-
 arch/x86/dts/chromebox_panther.dts         |  33 +++---
 arch/x86/dts/crownbay.dts                  | 150 ++++++++++++++-------------
 arch/x86/dts/galileo.dts                   |  98 +++++++++---------
 arch/x86/dts/minnowmax.dts                 | 158 ++++++++++++++--------------
 arch/x86/dts/qemu-x86_i440fx.dts           |  26 +++--
 arch/x86/dts/qemu-x86_q35.dts              |  38 ++++---
 arch/x86/lib/Makefile                      |   1 -
 drivers/Makefile                           |   1 +
 drivers/pch/Makefile                       |   7 ++
 {arch/x86/lib => drivers/pch}/pch-uclass.c |  32 ++++++
 drivers/pch/pch7.c                         |  30 ++++++
 drivers/pch/pch9.c                         |  41 ++++++++
 drivers/pci/pci-uclass.c                   |  24 ++---
 drivers/pci/pci_auto.c                     |  14 +--
 drivers/pci/pci_compat.c                   |  15 +++
 drivers/pci/pci_internal.h                 |  11 ++
 drivers/spi/ich.c                          | 115 +++++----------------
 include/pch.h                              |  66 ++++++++++++
 include/pci.h                              |  11 ++
 24 files changed, 639 insertions(+), 436 deletions(-)
 create mode 100644 drivers/pch/Makefile
 rename {arch/x86/lib => drivers/pch}/pch-uclass.c (53%)
 create mode 100644 drivers/pch/pch7.c
 create mode 100644 drivers/pch/pch9.c
 create mode 100644 include/pch.h

-- 
2.6.0.rc2.230.g3dd15c0

             reply	other threads:[~2015-12-01  4:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01  4:11 Simon Glass [this message]
2015-12-01  4:11 ` [U-Boot] [PATCH 1/7] dm: pci: Move pci_bus_to_hose() to compatibility Simon Glass
2015-12-08 13:22   ` Bin Meng
2015-12-01  4:11 ` [U-Boot] [PATCH 2/7] dm: pci: Add a function to write a BAR Simon Glass
2015-12-08 13:23   ` Bin Meng
2015-12-19  2:51     ` Simon Glass
2015-12-01  4:11 ` [U-Boot] [PATCH 3/7] dm: pci: Avoid using pci_bus_to_hose() in the uclass Simon Glass
2015-12-08 13:23   ` Bin Meng
2015-12-01  4:11 ` [U-Boot] [PATCH 4/7] dm: Expand the uclass for Peripheral Controller Hubs (PCH) Simon Glass
2015-12-08 13:23   ` Bin Meng
2015-12-08 13:45     ` Bin Meng
2015-12-17  4:09     ` Simon Glass
2015-12-17 10:09       ` Bin Meng
2015-12-18  2:46         ` Simon Glass
2015-12-01  4:11 ` [U-Boot] [PATCH 5/7] dm: x86: Add a driver for Intel PCH7 Simon Glass
2015-12-08 13:23   ` Bin Meng
2015-12-01  4:11 ` [U-Boot] [PATCH 6/7] dm: x86: Add a driver for Intel PCH9 Simon Glass
2015-12-08 13:23   ` Bin Meng
2015-12-01  4:11 ` [U-Boot] [PATCH 7/7] dm: x86: spi: Convert ICH SPI driver to driver model PCI API Simon Glass
2015-12-03 11:47   ` Jagan Teki
2015-12-08 13:24   ` Bin Meng
2015-12-17  4:10     ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448943086-1079-1-git-send-email-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.