All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/21] dm: Various enhancements to prepare for ACPI
@ 2020-01-27 15:49 Simon Glass
  2020-01-27 15:49 ` [PATCH 01/21] dm: core: Use const where possible in device.h Simon Glass
                   ` (40 more replies)
  0 siblings, 41 replies; 47+ messages in thread
From: Simon Glass @ 2020-01-27 15:49 UTC (permalink / raw)
  To: u-boot

This series contains various minor enhancements needed to implement the
programmatic generation of ACPI tables on x86 devices. These are mostly
generic routines and are likely to be useful elsewhere.

It also includes a few test improvements to support checking console
output more easily.


Simon Glass (21):
  dm: core: Use const where possible in device.h
  dm: pci: Update the PCI read_config() method to const dev *
  dm: pci: Update a few more interfaces for const udevice *
  dm: core: Use const device for the devfdt...() interface
  dm: core: Use const device for the dev_read_...() interface
  test: Add underscore prefix to macro parameters
  dm: core: Update comment for ofnode_get_chosen_node()
  dm: core: Rename ofnode_get_chosen_prop()
  dm: core: Add ofnode_read_prop()
  dm: core: Reimplement ofnode_read_size()
  dm: core: Add ofnode_get_chosen_prop()
  dm: core: Add a way to read platdata for all child devices
  dm: core: Add a way to iterate through children, probing each
  dm: core: Drop uclass_find_next_free_req_seq() conditions
  bloblist: Add a new function to add or check size
  bloblist: Tidy up a few comments and code-style nits
  bloblist: Zero records when adding
  sandbox: pmic: Correct i2c pmic emulator platdata method
  console: Add a function to read a line of the output / eof
  test: Enable console recording in tests
  test: Add a way to check each line of console output

 arch/sandbox/dts/test.dts                     |   3 +
 .../puma_rk3399/puma-rk3399.c                 |   2 +-
 board/xilinx/common/board.c                   |   2 +-
 common/bloblist.c                             |  23 +-
 common/console.c                              |  11 +
 doc/README.bloblist                           |   4 +-
 drivers/core/device.c                         |  85 +++++--
 drivers/core/fdtaddr.c                        |  26 +--
 drivers/core/ofnode.c                         |  71 +++---
 drivers/core/read.c                           |  97 ++++----
 drivers/core/uclass.c                         |   4 -
 drivers/misc/p2sb_emul.c                      |   5 +-
 drivers/misc/swap_case.c                      |   9 +-
 drivers/pci/pci-aardvark.c                    |   2 +-
 drivers/pci/pci-emul-uclass.c                 |   2 +-
 drivers/pci/pci-rcar-gen2.c                   |   4 +-
 drivers/pci/pci-rcar-gen3.c                   |   2 +-
 drivers/pci/pci-uclass.c                      |  32 +--
 drivers/pci/pci_mpc85xx.c                     |   2 +-
 drivers/pci/pci_mvebu.c                       |   2 +-
 drivers/pci/pci_sandbox.c                     |   2 +-
 drivers/pci/pci_sh7751.c                      |   2 +-
 drivers/pci/pci_tegra.c                       |   2 +-
 drivers/pci/pci_x86.c                         |   5 +-
 drivers/pci/pcie_dw_mvebu.c                   |   2 +-
 drivers/pci/pcie_dw_ti.c                      |   2 +-
 drivers/pci/pcie_ecam_generic.c               |  11 +-
 drivers/pci/pcie_fsl.c                        |   2 +-
 drivers/pci/pcie_imx.c                        |   2 +-
 drivers/pci/pcie_intel_fpga.c                 |   4 +-
 drivers/pci/pcie_layerscape.c                 |   4 +-
 drivers/pci/pcie_layerscape_gen4.c            |   2 +-
 drivers/pci/pcie_mediatek.c                   |   4 +-
 drivers/pci/pcie_phytium.c                    |   7 +-
 drivers/pci/pcie_xilinx.c                     |   4 +-
 drivers/power/acpi_pmc/pmc_emul.c             |   2 +-
 drivers/power/pmic/i2c_pmic_emul.c            |  16 +-
 include/bloblist.h                            |  16 +-
 include/console.h                             |  19 ++
 include/dm/device.h                           | 111 +++++++--
 include/dm/fdtaddr.h                          |  26 +--
 include/dm/ofnode.h                           |  39 +++-
 include/dm/read.h                             | 212 +++++++++---------
 include/fdtdec.h                              |   2 +-
 include/pci.h                                 |  38 ++--
 include/test/test.h                           |   4 +
 include/test/ut.h                             | 109 +++++++--
 lib/fdtdec.c                                  |   2 +-
 test/bloblist.c                               |  61 ++++-
 test/dm/ofnode.c                              |  55 +++++
 test/dm/test-fdt.c                            |  38 ++++
 test/dm/test-main.c                           |   4 +-
 test/ut.c                                     |  46 ++++
 53 files changed, 892 insertions(+), 351 deletions(-)

-- 
2.25.0.341.g760bfbb309-goog

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2020-02-12 22:14 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 15:49 [PATCH 00/21] dm: Various enhancements to prepare for ACPI Simon Glass
2020-01-27 15:49 ` [PATCH 01/21] dm: core: Use const where possible in device.h Simon Glass
2020-01-27 15:49 ` [PATCH 02/21] dm: pci: Update the PCI read_config() method to const dev * Simon Glass
2020-02-03  1:42   ` Tan, Ley Foon
2020-02-05 17:57   ` sjg at google.com
2020-01-27 15:49 ` [PATCH 03/21] dm: pci: Update a few more interfaces for const udevice * Simon Glass
2020-01-27 15:49 ` [PATCH 04/21] dm: core: Use const device for the devfdt...() interface Simon Glass
2020-01-27 15:49 ` [PATCH 05/21] dm: core: Use const device for the dev_read_...() interface Simon Glass
2020-01-27 15:49 ` [PATCH 06/21] test: Add underscore prefix to macro parameters Simon Glass
2020-01-27 15:49 ` [PATCH 07/21] dm: core: Update comment for ofnode_get_chosen_node() Simon Glass
2020-01-27 15:49 ` [PATCH 08/21] dm: core: Rename ofnode_get_chosen_prop() Simon Glass
2020-01-27 15:49 ` [PATCH 09/21] dm: core: Add ofnode_read_prop() Simon Glass
2020-01-27 15:49 ` [PATCH 10/21] dm: core: Reimplement ofnode_read_size() Simon Glass
2020-01-27 15:49 ` [PATCH 11/21] dm: core: Add ofnode_get_chosen_prop() Simon Glass
2020-01-27 15:49 ` [PATCH 12/21] dm: core: Add a way to read platdata for all child devices Simon Glass
2020-01-27 15:49 ` [PATCH 13/21] dm: core: Add a way to iterate through children, probing each Simon Glass
2020-01-27 15:49 ` [PATCH 14/21] dm: core: Drop uclass_find_next_free_req_seq() conditions Simon Glass
2020-01-27 15:49 ` [PATCH 15/21] bloblist: Add a new function to add or check size Simon Glass
2020-01-27 15:49 ` [PATCH 16/21] bloblist: Tidy up a few comments and code-style nits Simon Glass
2020-01-27 15:49 ` [PATCH 17/21] bloblist: Zero records when adding Simon Glass
2020-01-27 15:49 ` [PATCH 18/21] sandbox: pmic: Correct i2c pmic emulator platdata method Simon Glass
2020-01-27 15:49 ` [PATCH 19/21] console: Add a function to read a line of the output / eof Simon Glass
2020-01-27 15:49 ` [PATCH 20/21] test: Enable console recording in tests Simon Glass
2020-01-27 15:49 ` [PATCH 21/21] test: Add a way to check each line of console output Simon Glass
2020-02-05 17:55 ` sjg at google.com
2020-02-05 17:55 ` [PATCH 20/21] test: Enable console recording in tests sjg at google.com
2020-02-05 17:55 ` [PATCH 19/21] console: Add a function to read a line of the output / eof sjg at google.com
2020-02-12 17:14   ` Heinrich Schuchardt
2020-02-12 17:24     ` Tom Rini
2020-02-12 22:14       ` Tom Rini
2020-02-05 17:55 ` [PATCH 18/21] sandbox: pmic: Correct i2c pmic emulator platdata method sjg at google.com
2020-02-05 17:55 ` [PATCH 17/21] bloblist: Zero records when adding sjg at google.com
2020-02-05 17:55 ` [PATCH 16/21] bloblist: Tidy up a few comments and code-style nits sjg at google.com
2020-02-05 17:55 ` [PATCH 15/21] bloblist: Add a new function to add or check size sjg at google.com
2020-02-05 17:55 ` [PATCH 14/21] dm: core: Drop uclass_find_next_free_req_seq() conditions sjg at google.com
2020-02-05 17:56 ` [PATCH 12/21] dm: core: Add a way to read platdata for all child devices sjg at google.com
2020-02-05 17:56 ` [PATCH 13/21] dm: core: Add a way to iterate through children, probing each sjg at google.com
2020-02-05 17:56 ` [PATCH 11/21] dm: core: Add ofnode_get_chosen_prop() sjg at google.com
2020-02-05 17:56 ` [PATCH 10/21] dm: core: Reimplement ofnode_read_size() sjg at google.com
2020-02-05 17:56 ` [PATCH 09/21] dm: core: Add ofnode_read_prop() sjg at google.com
2020-02-05 17:56 ` [PATCH 08/21] dm: core: Rename ofnode_get_chosen_prop() sjg at google.com
2020-02-05 17:56 ` [PATCH 07/21] dm: core: Update comment for ofnode_get_chosen_node() sjg at google.com
2020-02-05 17:56 ` [PATCH 06/21] test: Add underscore prefix to macro parameters sjg at google.com
2020-02-05 17:56 ` [PATCH 05/21] dm: core: Use const device for the dev_read_...() interface sjg at google.com
2020-02-05 17:56 ` [PATCH 04/21] dm: core: Use const device for the devfdt...() interface sjg at google.com
2020-02-05 17:57 ` [PATCH 03/21] dm: pci: Update a few more interfaces for const udevice * sjg at google.com
2020-02-05 17:57 ` [PATCH 01/21] dm: core: Use const where possible in device.h sjg at google.com

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.