mbox series

[v5,0/5] cmd: bind allow to bind driver with driver_data

Message ID 20200728071335.5840-1-patrice.chotard@st.com
Headers show
Series cmd: bind allow to bind driver with driver_data | expand

Message

Patrice CHOTARD July 28, 2020, 7:13 a.m. UTC
- fix the bind command
  - add a bind command test
  - add bind command documentation

Changes in v5:
  - rebase on last master
  - fix phy test regression

Changes in v4:
  - fix make htmldocs error "Title underline too short"

Changes in v3:
  - fix typo
  - fix typo
  - fix typo
  - add bind/unbind parameters description and how to find them

Changes in v2:
  - add a bind command test
  - add bind command documentation in doc/driver/model/bind.rst
  - simplify patch 1 by using lists_bind_fdt()

Patrice Chotard (5):
  cmd: bind: allow to bind driver with driver data
  sandbox: phy: add driver_data for bind test cmd
  sandbox: dts: Add compatible string for bind-test node
  test/py: Update test_bind
  doc: add bind/unbind command documentation

 arch/sandbox/dts/test.dts  |  1 +
 cmd/bind.c                 |  5 ++--
 doc/driver-model/bind.rst  | 49 ++++++++++++++++++++++++++++++++++++++
 doc/driver-model/index.rst |  1 +
 drivers/phy/sandbox-phy.c  | 18 +++++++++++++-
 test/dm/phy.c              |  2 +-
 test/py/tests/test_bind.py | 18 +++++++-------
 7 files changed, 81 insertions(+), 13 deletions(-)
 create mode 100644 doc/driver-model/bind.rst