Skip to content

Add support for pinmux status command on beaglebone

Dario Binacchi u-boot 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 0 repliesNew
  2. v3 posting 2/20 of 12 patches 0 repliesSuperseded
  3. v3 posting 1/212 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/20 of 12 patches0 repliesSuperseded
v2 posting 1/212 patches0 repliesSuperseded
v111 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Added CONFIG_PINCTRL_SINGLE to sandbox_flattree_defconfig to fix sandbox_flattree test errors.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12pinctrl: single: fix format of structure documentationdrivers/pinctrl/pinctrl-single.c+36 -90 replies
2/12pinctrl: single: fix the loop counter variable typedrivers/pinctrl/pinctrl-single.c+4 -40 replies
3/12pinctrl: single: fix offset managementdrivers/pinctrl/pinctrl-single.c+14 -100 replies
4/12pinctrl: single: fix debug messages formattingdrivers/pinctrl/pinctrl-single.c+2 -20 replies
5/12pinctrl: single: get register area size by device APIdrivers/pinctrl/pinctrl-single.c+8 -61 reply
5/12pinctrl: single: get register area size by device API+0 -01 reply
6/12pinctrl: single: check "register-width" DT propertydrivers/pinctrl/pinctrl-single.c+7 -30 replies
7/12pinctrl: single: change function mask default valuedrivers/pinctrl/pinctrl-single.c+10 -20 replies
8/12pinctrl: single: add register access functionsdrivers/pinctrl/pinctrl-single.c+46 -250 replies
9/12pinctrl: single: add get_pins_count operationdrivers/pinctrl/pinctrl-single.c+37 -00 replies
10/12pinctrl: single: add get_pin_name operationdrivers/pinctrl/pinctrl-single.c+16 -00 replies
11/12pinctrl: single: add get_pin_muxing operationdrivers/pinctrl/pinctrl-single.c+213 -90 replies
12/12test: pinmux: add test for 'pinctrl-single' driverarch/sandbox/dts/test.dts configs/sandbox_defconfig configs/sandbox_flattree_defconfig +2 more+191 -50 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchSimon GlassPratyush Yadav
1/12R-b
2/12R-b R-b
3/12R-b
4/12R-b
5/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/12] Add support for pinmux status command on beaglebone

The series was born from the need to check the pinmux setting of a peripheral on a beaglebone board. I then ran the 'pinmux status -a' command but it failed because some operations (get_pin_muxing, get_pin_name and get_pins_count) were missing in the 'pinctrl-single' driver.

The patch series can be cleanly applied to the HEAD of the master which
at the time of release points to 3f2e3c7845
("Merge tag 'u-boot-stm32-20210409' of https://source.denx.de/u-boot/custodians/u-boot-stm")

Changes in v4:
- Added CONFIG_PINCTRL_SINGLE to sandbox_flattree_defconfig to fix sandbox_flattree test errors.

Changes in v3:
- Added Pratyush Yadav review tag.
- Updated commit message.
- Added Pratyush Yadav review tag.
- Added Pratyush Yadav review tag.
- Added Simon Glass review tag.
- Added Simon Glass review tag.
- Added Simon Glass review tag.

Changes in v2:
- Added Simon Glass review tag.
- Updated commit message.
- Added Simon Glass review tag.
- Added Pratyush Yadav review tag.
- Updated commit message
- Split in 2 commits
- Check dev_read_addr_size return value.
- Updated commit message.
- Added Simon Glass review tag.
- Updated commit message.
- Remove pointer to access functions.
- Added Simon Glass review tag.
- Added Simon Glass review tag.
- Added Simon Glass review tag.
- Added error checking when the 'width' property is missing.
- Fix coding style.

Dario Binacchi (12):
pinctrl: single: fix format of structure documentation
pinctrl: single: fix the loop counter variable type
pinctrl: single: fix offset management
pinctrl: single: fix debug messages formatting
pinctrl: single: get register area size by device API
pinctrl: single: check "register-width" DT property
pinctrl: single: change function mask default value
pinctrl: single: add register access functions
pinctrl: single: add get_pins_count operation
pinctrl: single: add get_pin_name operation
pinctrl: single: add get_pin_muxing operation
test: pinmux: add test for 'pinctrl-single' driver

 arch/sandbox/dts/test.dts          |  72 +++++
 configs/sandbox_defconfig          |   1 +
 configs/sandbox_flattree_defconfig |   1 +
 drivers/pinctrl/pinctrl-single.c   | 474 +++++++++++++++++++++++++----
 test/dm/pinmux.c                   |  91 +++++-
 5 files changed, 574 insertions(+), 65 deletions(-)
Signature · 1 line
2.17.1