1. 13 4月, 2021 1 次提交
  2. 12 3月, 2021 1 次提交
  3. 26 2月, 2021 1 次提交
  4. 18 2月, 2021 2 次提交
  5. 31 1月, 2021 2 次提交
  6. 06 11月, 2020 1 次提交
    • S
      board: Rename uclass to sysinfo · 3a8ee3df
      Simon Glass 提交于
      This uclass is intended to provide a way to obtain information about a
      U-Boot board. But the concept of a U-Boot 'board' is the whole system,
      not just one circuit board, meaning that 'board' is something of a
      misnomer for this uclass.
      
      In addition, the name 'board' is a bit overused in U-Boot and we want to
      use the same uclass to provide SMBIOS information.
      
      The obvious name is 'system' but that is so vague as to be meaningless.
      Use 'sysinfo' instead, since this uclass is aimed at providing information
      on the system.
      
      Rename everything accordingly.
      
      Note: Due to the patch delta caused by the symbol renames, this patch
      shows some renamed files as being deleted in one place and created in
      another.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      3a8ee3df
  7. 30 10月, 2020 2 次提交
  8. 28 10月, 2020 2 次提交
  9. 08 10月, 2020 1 次提交
    • S
      test: pinmux: Add test for pin muxing · 7f0f1806
      Sean Anderson 提交于
      This extends the pinctrl-sandbox driver to support pin muxing, and adds a
      test for that behaviour. The test is done in C and not python (like the
      existing tests for the pinctrl uclass) because it needs to call
      pinctrl_select_state.  Another option could be to add a command that
      invokes pinctrl_select_state and then test everything in
      test/py/tests/test_pinmux.py.
      
      The pinctrl-sandbox driver now mimics the way that many pinmux devices
      work.  There are two groups of pins which are muxed together, as well as
      four pins which are muxed individually. I have tried to test all normal
      paths. However, very few error cases are explicitly checked for.
      Signed-off-by: NSean Anderson <seanga2@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      7f0f1806
  10. 30 9月, 2020 1 次提交
    • E
      firmware: add SCMI agent uclass · 358599ef
      Etienne Carriere 提交于
      This change introduces SCMI agent uclass to interact with a firmware
      using the SCMI protocols [1].
      
      SCMI agent uclass currently supports a single method to request
      processing of the SCMI message by an identified server. A SCMI message
      is made of a byte payload associated to a protocol ID and a message ID,
      all defined by the SCMI specification [1]. On return from process_msg()
      method, the caller gets the service response.
      
      SCMI agent uclass defines a post bind generic sequence for all devices.
      The sequence binds all the SCMI protocols listed in the FDT for that
      SCMI agent device. Currently none, but later change will introduce
      protocols.
      
      This change implements a simple sandbox device for the SCMI agent uclass.
      The sandbox nicely answers SCMI_NOT_SUPPORTED to SCMI messages.
      To prepare for further test support, the sandbox exposes a architecture
      function for test application to read the sandbox emulated devices state.
      Currently supports 2 SCMI agents, identified by an ID in the FDT device
      name. The simplistic DM test does nothing yet.
      
      SCMI agent uclass is designed for platforms that embed a SCMI server in
      a firmware hosted somewhere, for example in a companion co-processor or
      in the secure world of the executing processor. SCMI protocols allow an
      SCMI agent to discover and access external resources as clock, reset
      controllers and more. SCMI agent and server communicate following the
      SCMI specification [1]. This SCMI agent implementation complies with
      the DT bindings defined in the Linux kernel source tree regarding
      SCMI agent description since v5.8.
      
      Links: [1] https://developer.arm.com/architectures/system-architectures/software-standards/scmiSigned-off-by: NEtienne Carriere <etienne.carriere@linaro.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Sudeep Holla <sudeep.holla@arm.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      358599ef
  11. 29 7月, 2020 1 次提交
  12. 26 7月, 2020 1 次提交
  13. 24 7月, 2020 1 次提交
  14. 21 7月, 2020 1 次提交
  15. 17 7月, 2020 2 次提交
  16. 01 7月, 2020 3 次提交
  17. 17 4月, 2020 1 次提交
    • P
      dm: core: add ofnode and dev function to iterate on node property · ce891fca
      Patrick Delaunay 提交于
      Add functions to iterate on all property with livetree
      - dev_read_first_prop
      - dev_read_next_prop
      - dev_read_prop_by_prop
      and
      - ofnode_get_first_property
      - ofnode_get_next_property
      - ofnode_get_property_by_prop
      
      And helper: dev_for_each_property
      
      For example:
      struct ofprop property;
      
      dev_for_each_property(property, config) {
      	value = dev_read_prop_by_prop(&property, &propname, &len);
      
      or:
      
      for (res = ofnode_get_first_property(node, &property);
           !res;
           res = ofnode_get_next_property(&property))
      {
           value = ofnode_get_property_by_prop(&property, &propname, &len);
      ....
      }
      Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      ce891fca
  18. 16 4月, 2020 2 次提交
  19. 08 1月, 2020 2 次提交
  20. 15 12月, 2019 3 次提交
  21. 14 10月, 2019 1 次提交
  22. 19 7月, 2019 2 次提交
  23. 16 7月, 2019 1 次提交
  24. 11 7月, 2019 1 次提交
  25. 05 7月, 2019 1 次提交
    • J
      dm: Add a No-op uclass · 07e33711
      Jean-Jacques Hiblot 提交于
      This uclass is intended for devices that do not need any features from the
      uclass, including binding children.
      This will typically be used by devices that are used to bind child devices
      but do not use dm_scan_fdt_dev() to do it. That is for example the case of
      several USB wrappers that have 2 child devices (1 for device and 1 for
      host) but bind only one at a any given time.
      Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      07e33711
  26. 20 2月, 2019 1 次提交
  27. 15 1月, 2019 1 次提交
  28. 16 12月, 2018 1 次提交