528 Commits

Author SHA1 Message Date
Jeffrey Townsend
7583162a33 Fix misleading indentation error. 2019-05-06 20:01:20 +00:00
Jeffrey Townsend
7a483cfa68 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2019-05-01 17:59:31 +00:00
Jeffrey Townsend
bd6d4e49b5 Initial. 2019-05-01 17:58:51 +00:00
Aken Liu
e05e81f8e4 we change the method to get PSU's EEPROM data. (for wedge100bf_65x)
old method: use i2c raw command to access PSU
new method: use OpenBMC's sysfs to access PSU
2019-04-30 14:13:11 +08:00
Aken Liu
d592ff8e86 we change the method to get PSU's EEPROM data.
old method: use i2c raw command to access PSU
new method: use OpenBMC's sysfs to access PSU
2019-04-30 11:59:50 +08:00
Jeffrey Townsend
10c32324e9 Merge branch 'hwmon' of github.com:brandonchuang/OpenNetworkLinux
Conflicts:
	packages/base/any/kernels/modules/ym2651y.c
2019-04-24 20:36:20 +00:00
Jeffrey Townsend
9888206e6e Merge pull request #543 from roylee123/add_platform_accton_minipack
Add platform accton-minipack.
2019-04-24 13:19:10 -07:00
Jeffrey Townsend
dc0e00739a Merge pull request #550 from jostar-yang/asgvolt64_0419
Add to support asgvolt64 onlp
2019-04-24 13:17:12 -07:00
Jeffrey Townsend
6ee46aec90 Merge pull request #551 from jostar-yang/as9716_0419
Add onlp to support 3y power(yesm1300am). Fix LED.
2019-04-24 13:12:40 -07:00
Jeffrey Townsend
eab14e63f6 Merge pull request #548 from roylee123/as5916_54xm_update_thermal_policy
[platform]As5916_54xm: update thermal policy
2019-04-24 13:11:41 -07:00
Jeffrey Townsend
674d7a384a Merge pull request #542 from brandonchuang/as5916_54xks
[as5916-54xks] Remove setting loc/diag led as off while onlp_ledi_init()
2019-04-24 13:08:57 -07:00
Jostar Yang
59d05b8a24 Add onlp to support 3y power(yesm1300am). Fix LED. 2019-04-19 18:15:41 +08:00
Jostar Yang
151c6dcef2 Add to support asgvolt64 onlp 2019-04-19 10:26:16 +08:00
roy_lee
ba58653713 Remove debug messaging.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-04-10 10:54:29 +08:00
roy_lee
d5fa35b862 Update thermal policy.
Enable onlp_ledi_set() to turn on LED.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-04-09 16:09:59 +08:00
brandon_chuang
1d345c7bc9 [as5916-54xks] Remove setting loc/diag led as off while onlp_ledi_init() 2019-03-14 10:37:30 +08:00
brandon_chuang
4f2d904412 [as7816-64x] Update onlp/drivers for different CPLD firmware 2019-03-07 17:13:22 +08:00
Jeffrey Townsend
fae60c2753 Merge pull request #537 from jostar-yang/as4630_0225
Add support AS4630 onlp and kernel drv
2019-03-06 11:42:10 -08:00
Jeffrey Townsend
505d32f1a5 Merge pull request #536 from brandonchuang/as7716_24xc
Add new platform as7716-24sc / as7716-24xc
2019-03-06 11:40:26 -08:00
Jeffrey Townsend
27ac68425f Merge pull request #533 from brandonchuang/as5912_54x
[as5912-54x] Add onlp_sfpi_dev_read() / onlp_sfpi_dev_write()
2019-03-06 11:37:08 -08:00
Jeffrey Townsend
0b5e06ae7f Merge pull request #532 from brandonchuang/as5916_54x
[as5916-54x] Add onlp_sfpi_dev_read() / onlp_sfpi_dev_write()
2019-03-06 11:36:55 -08:00
Jeffrey Townsend
849794719e Merge pull request #528 from roylee123/Add_usb0_NIF_for_wedge100bf
[platform] Add usb0 interface for Accton Wedge100BF
2019-03-06 11:36:15 -08:00
Jeffrey Townsend
a851e747e9 Merge pull request #527 from brandonchuang/as4610_54t_b
[as4610] Fix error while loading fan driver on fanless devices
2019-03-06 11:35:35 -08:00
Jeffrey Townsend
ad7ad4bc8c Merge pull request #524 from brandonchuang/as5916_54xks
[as5916-54xks] Modify IDPROM size/Add 1GBase-T SFP sysfs/Update thermal threshold
2019-03-06 11:35:08 -08:00
Jeffrey Townsend
15b190837e Merge pull request #522 from phani-karanam/add_YM2851J_PSU_support
Added YM2851J PSU support to onlpdump,and  also ym2651y.c single driv…
2019-03-06 11:33:30 -08:00
Jeffrey Townsend
272702d250 Merge pull request #518 from jostar-yang/as7312_0109
Add support read psu serial neumber at as7312_54xs
2019-03-06 11:32:29 -08:00
Jostar Yang
45d6ea3c7a Fix as4630 mgt port patch and sysi cpld sysfs 2019-02-26 14:27:12 +08:00
brandon_chuang
11d6884da7 Add new platform as7716-24sc / as7716-24xc 2019-02-26 11:40:38 +08:00
Jostar Yang
d26aa27be3 Add support as4630_54pe onlp and kernel drv 2019-02-26 10:32:56 +08:00
brandon_chuang
a6cf15be8e Phase in hwmon_device_register_with_info() 2019-02-22 10:47:03 +08:00
brandon_chuang
2fb688afc2 Revert "[as4610] Replace hwmon_device_register() with hwmon_device_register_with_info()"
This reverts commit 3f8142ccf4.
2019-02-22 10:22:25 +08:00
brandon_chuang
2e14af591b [as5912-54x] Add onlp_sfpi_dev_read() / onlp_sfpi_dev_write() 2019-02-13 14:59:12 +08:00
brandon_chuang
7f2aa08ab4 [as5916-54x] Add onlp_sfpi_dev_read() / onlp_sfpi_dev_write() 2019-02-13 14:33:07 +08:00
brandon_chuang
3f8142ccf4 [as4610] Replace hwmon_device_register() with hwmon_device_register_with_info() 2019-02-12 14:37:29 +08:00
simon-fan
60051859f1 Add usb0 interface 2019-01-24 14:13:12 +08:00
brandon_chuang
857a4fb49c [as4610] Fix error while loading fan driver on fanless devices 2019-01-23 11:29:10 +08:00
brandon_chuang
59c21f2959 [as5916-54xks] Enhance code per comment by Billie 2019-01-21 15:04:19 +08:00
roy_lee
4d0dce2135 Remove unecessary code.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-18 07:44:14 +00:00
brandon_chuang
3198710006 [as5916-54xks] Enhance code per comment by Billie 2019-01-18 15:37:50 +08:00
roy_lee
efbf0b1d88 To shorten the response time, few changes are made.
1. reducing waiting time.
2. caching data and keep longer.
3. only check if logged in the 1st time.
2019-01-18 11:24:33 +08:00
roy_lee
213d63e6e0 To shorten the response time, few changes are made.
1. reducing waiting time.
2. use shared memory and caching data.
3. only check if logged in at 1st time.

Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-18 11:14:39 +08:00
Jostar Yang
b06a636ae6 Modify to correct eeprom sysfs path 2019-01-18 10:57:41 +08:00
brandon_chuang
4f211fcd86 [as5916-54xks] Update thermal threshold 2019-01-17 10:09:33 +08:00
brandon_chuang
6edb8ebffa [as5916-54xks] Modify IDPROM size as 256 / Add sysfs to access 1GBase-T SFP 2019-01-15 15:16:44 +08:00
phani-karanam
2cbc678b6b Added YM2851J PSU support to onlpdump,and also ym2651y.c single driver supports dps850, YM2851F, YM2851J PSUs 2019-01-11 18:43:27 +08:00
roy_lee
3da8466b5a Update verified onlpdump code for 16Q PIM only.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-10 14:37:40 +08:00
roy_lee
304634ca5b Add 2 more psu's attribute, and retrieve type of dev_show by the index.
Delay more for tty's slow response.
Signed-off-by: roy_lee <roy_lee@accton.com>
2019-01-10 10:14:24 +08:00
Jostar Yang
4960779606 Add support read psu serial number for as7312_54xs 2019-01-09 11:49:12 +08:00
Jostar Yang
9efa90fb58 Add to support as4222_28pe ONLP 2019-01-08 11:01:22 +08:00
brandon_chuang
0cefb12ecf [as4610] Modify oom related part to support kernel 4.14 2019-01-07 15:01:52 +08:00