diff options
author | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2019-03-28 22:34:15 +0900 |
---|---|---|
committer | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2019-03-28 23:19:11 +0900 |
commit | 8edd1d56d9d455c0c7b833e13d9b1b7861f5a4cc (patch) | |
tree | 705b5a11b5f5aaebd5820ac3d37c2fed08b7ad91 /hvac.json | |
parent | a97dd68d9a59dcf05ef114bcac2d1049c84f00e2 (diff) |
hvac-demo-binding : Set CAN device name from hvac.jsonhalibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.28.0.18.0.07.99.37.99.27.99.1
Current CAN_DEV is set vcan0 as default and hardcoding.
Sometimes hvac uses lin or other type of can device.
User can set CAN device name from JSON file in /etc/hvac.json
Change-Id: I2c29fb16d7d4a48364cc1d35a9f5004afbdb477b
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Diffstat (limited to 'hvac.json')
-rw-r--r-- | hvac.json | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,5 +3,6 @@ "red": "/sys/class/leds/blinkm-3-9-red/brightness", "green": "/sys/class/leds/blinkm-3-9-green/brightness", "blue": "/sys/class/leds/blinkm-3-9-blue/brightness" - } -}
\ No newline at end of file + }, + "can_device": "vcan0" +} |