1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +00:00

PWM support fixed, the test fails when trying to change the frequency, but I don't think that's an issue. Have not run this against something that needs PWM to operate, but the .dtb I have loaded has /sys/class/pwm/pwmchip0 and it can be configured with this code

This commit is contained in:
Robert Wolterman
2016-02-29 13:04:35 -06:00
parent 1b7beac587
commit cea44c287d
6 changed files with 78 additions and 24 deletions

View File

@ -121,19 +121,19 @@ pins_t table[] = {
{ "TWI2-SDA", "U14_25", 50, -1, -1},
{ "TWI2-SCK", "U14_26", 49, -1, -1},
{ "CSIPCK", "U14_27", 128, -1, -1},
{ "CSICK", "U14_28", 129, 4, -1},
{ "CSICK", "U14_28", 129, -1, -1},
{ "CSIHSYNC", "U14_29", 130, 1, -1},
{ "CSIVSYNC", "U14_30", 131, -1, -1},
{ "CSID0", "U14_31", 132, 1, -1},
{ "CSID1", "U14_32", 133, -1, -1},
{ "CSID2", "U14_33", 134, -1, 4},
{ "CSID2", "U14_33", 134, -1, -1},
{ "CSID3", "U14_34", 135, -1, -1},
{ "CSID4", "U14_35", 136, -1, 6},
{ "CSID5", "U14_36", 137, -1, 5},
{ "CSID6", "U14_37", 138, -1, 2},
{ "CSID7", "U14_38", 139, -1, 3},
{ "GND", "U14_39", 0, -1, 0},
{ "GND", "U14_40", 0, -1, 1},
{ "CSID4", "U14_35", 136, -1, -1},
{ "CSID5", "U14_36", 137, -1, -1},
{ "CSID6", "U14_37", 138, -1, -1},
{ "CSID7", "U14_38", 139, -1, -1},
{ "GND", "U14_39", 0, -1, -1},
{ "GND", "U14_40", 0, -1, -1},
{ NULL, NULL, 0 }
};