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:
@ -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 }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user