BeagleBoard-DeviceTrees merge requestshttps://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests2024-03-19T06:58:45-04:00https://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests/71am335x: pinmux: Allow bias to be controlled by gpio2024-03-19T06:58:45-04:00Matthijs Kooijmanam335x: pinmux: Allow bias to be controlled by gpioThis tells the pinmux controller what bits in the pinmux register are
used to control the pull-up and pull-down. This allows the pinmux
controller to handle PIN_CONFIG_BIAS_PULL_UP and
PIN_CONFIG_BIAS_PULL_DOWN requests, as made by the g...This tells the pinmux controller what bits in the pinmux register are
used to control the pull-up and pull-down. This allows the pinmux
controller to handle PIN_CONFIG_BIAS_PULL_UP and
PIN_CONFIG_BIAS_PULL_DOWN requests, as made by the gpio controller (in
the omap_gpio_set_config function) when requested by userspace.
Before this commit, the pinctrl would not know how to handle these
requests, so the bias was unchanged (pinctrl should return an error, but
somehow this error did not reach all the way back to userspace).
With this commit, the pullups can be enabled as expected on all pins
covered by the universal GPIO DT. In addition to adding the
pinctrl-single,bias-pullup/down attributes, this also switches the
compatible string from pinctrl,single to pinconf,single. This loads the
same driver, with the only difference that it enables this pin
configuration API.
This change is modeled after a similar change in mainline for the
pocketbeagle:
https://github.com/torvalds/linux/commit/abe4e4675dfc62b7f2328e2c4bce8b5bdcdff7c0
https://github.com/torvalds/linux/commit/adf7045147a53709318948c6948647ac07ed9661
The syntax of these properties is <value enable disable mask>.
Note that the pocketbeagle commits contains incorrect "disable" item,
which do not actually disable the bias by setting the 0x08 bits. This is
correct in this commit (which also required changing the "value" item,
since that should match either the enable or disable items but is
otherwise unused). Also note that disabling the bias is not actually
supported by the driver due to this bug:
https://github.com/torvalds/linux/commit/abe4e4675dfc62b7f2328e2c4bce8b5bdcdff7c0https://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests/69Disable both bcfserial and gb-beagleplay2023-10-25T14:41:52-04:00Jason KridnerDisable both bcfserial and gb-beagleplayhttps://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests/67Draft: Add removal of gb-beagleplay driver2023-10-20T11:46:58-04:00Jason KridnerDraft: Add removal of gb-beagleplay driverWe still don't have a way to flash when the driver is enabled, so we still need this.
I hope a flashing solution via Greybus will be provided by @ayush1325.
For some reason, I'm not seeing this work yet. Still debugging.We still don't have a way to flash when the driver is enabled, so we still need this.
I hope a flashing solution via Greybus will be provided by @ayush1325.
For some reason, I'm not seeing this work yet. Still debugging.https://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests/61am335x-boneblue.dts: fix eQEP0 pinmux2023-12-11T20:06:06-05:00Phil Doyleam335x-boneblue.dts: fix eQEP0 pinmuxFixing a simple typo for one of the eQEP0 pins and is supported by the code comment on the relevant line and bone Blue schematics.
Testing on the board itself has only gone so far as getting no conflict with an overlay that muxes the (i...Fixing a simple typo for one of the eQEP0 pins and is supported by the code comment on the relevant line and bone Blue schematics.
Testing on the board itself has only gone so far as getting no conflict with an overlay that muxes the (incorrect) pin for a different purpose. Before the fix a conflict would occur. v4.19 based builds did not exhibit this conflict.https://git.beagleboard.org/beagleboard/BeagleBoard-DeviceTrees/-/merge_requests/58Draft: Add PRU UIO2022-08-25T22:21:10-04:00Jason KridnerDraft: Add PRU UIOAdd UIO to PRU memories.Add UIO to PRU memories.Robert NelsonRobert Nelson