Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Guohan Lu 207e32a9f2 [platform-modules]: fix compile issues for platform driver under 4.19
1. undefine led_classdev_register as it is defined in leds.h
2. header file location change
   a. linux/i2c/pmbus.h -> linux/pmbus.h
   b. linux/i2c-mux-gpio.h -> linux/platform_data/i2c-mux-gpio.h
   c. linux/i2c/pca954x.h -> linux/platform_data/pca954x.h
2020-04-17 04:51:51 +00:00
Dong Zhang 7aa0baf709 [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector (#4035)
* [MultiDB] (except ./src and ./dockers dirs): replace redis-cli with sonic-db-cli and use new DBConnector
* update comment for a potential bug
* update comment
* add TODO maker as review reqirement
2020-01-22 11:26:23 -08:00
lguohan 483a5946a8
Revert "[MultiDB]except src and dockers : replace redis-cli with sonic-db-cli and use new DBConnector (#3928)" (#4002)
This reverts commit 0dae59ac30.
2020-01-10 08:27:34 -08:00
Dong Zhang 0dae59ac30 [MultiDB]except src and dockers : replace redis-cli with sonic-db-cli and use new DBConnector (#3928)
* [MultiDB]except src and dockers : replace redis-cli with sonic-db-cli and use new DBConnector
* fix vs tests along with swss vs tests together
2020-01-02 14:46:25 -08:00
Feng Lee ac2be9d99a [platform] update Ingrassy platform to support stretch (#2322)
* remove nephos sonic-platform-modules-ingrasys module

* [Ingrasys]Add platform drivers and device to support Debian Stretch

* fix gpio init issue
2018-11-30 20:46:36 -08:00
Guohan Lu 8910c7e18c update .gitignore
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-12 07:58:59 +00:00
Guohan Lu 66ffca2832 [kernel]: set default option to build kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 23:46:13 +00:00
Guohan Lu 5d46e050d6 [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
wadelnn 2d4c8a2ae6 [Platform] Update switch config files for Ingrasys platforms. (#1474)
* Add psuutil for S8900-54XC and S8900-64XC.
* Update syseeprom to CPU EEPROM for S9130-32X, S9200-64X and S9230-64X.
* Update sensors.conf for S9200-64X and S9230-64X.
* Update submodule for platform/broadcom/sonic-platform-modules-ingrasys

Signed-off-by: Wade He <chihen.he@gmail.com>
2018-03-08 11:49:17 -08:00
wadelnn 22eea55c9b [Platform] Add psuutil and update submodule for Ingrasys S9100-32X, S8810-32Q, S9200-64X on master branch (#1271)
* [platform] Add Psuutil and fixed voltage alarm for S9100

* Add I2C CPLD kernel module for psuutil.
* Support psuutil script.
* Add voltage min and max threshold.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Platform] Add Psuutil and update sensors.conf for S8810-32Q and S9200-64X

 * Support psuutil script.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-29 10:41:43 -08:00
wadelnn c4f7cd376e [Ingrasys]: Update QSFP monitor CoPP test and sensors config (#1202)
* Increase read socket buffer for CoPP Test
* Add QSFP monitor service
* Update S8810-32Q sensors.conf

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-07 12:08:49 -08:00
Jason Tsai 51dfa1768d [Ingrasys] Update platform configuration files (#1194) 2017-11-29 11:57:35 -08:00
wadelnn 8143cb34f2 [Ingrasys]: Add Ingrasys S8900-64XC sfputil function and update submodule (#984)
* Add S8900-64XC SFP QSFP CPLD kernel module.
* Fixed QSFP function call in i2c_utils.sh.
* Add QSFP monitor service for SFP and QSFP SI.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-09-25 17:54:17 -07:00
Jason Tsai f570616b0d [Ingrasys]: Change hwmon kernel modules installation order (#980)
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
change hwmon kernel modules installation order in i2c_utils.sh and update related fancontrol file
Check the hwmon kernel module insertion order in /sys/class/hwmon/hwmonX.
w83795 should be in /sys/class/hwmon/hwmon1, and jc42 should be the last one.
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
2017-09-22 12:58:10 -07:00
wadelnn aa55b832a4 [Ingrasys] Update Ingrasys submodule for S8900-54XC (#954)
- What I did

Update Ingrasys submodule for S8900-54XC QSFP reset function.

- How I did it

Add reset init scripts in S8900-54XC init function.

- How to verify it

Used the command "sfputil reset Ethernet48" to verify reset function.
If no error occurs, it is passed.

- Description for the changelog

Update Ingrasys submodule for S8900-54XC QSFP reset function

- A picture of a cute animal (not mandatory but encouraged)
2017-09-17 15:38:51 -07:00
wadelnn 7f1991cf2f Update sfputil support for Ingrasys S9100 (#929)
* Update sonic-platform-modules-ingrasys submodule.
* Fixed sfputil plugin for read QSFP EEPROM.
* Add sfputil plugin for get presence.
* Add sfputil plugin for get/set low power mode.
* Add sfputil plugin for reset QSFP.

Signed-off-by: Wade He chihen.he@gmail.com
2017-08-31 16:57:58 -07:00
cytsai0409 1be1c466fe Add s8810 32q platform support (#867)
* Add S8810-32Q platform support

* Update sonic-platform-modules-ingrasys submodule
* Add sys eeprom plugin for S8810-32Q
* Add sfputil plugin for S8810-32Q
* Add sensors config for S8810-32Q
* Add S8810-32Q HwSku port_config
* Add fancontrol config for S8810-32Q

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Add S8810-32Q platform support

* Add sys eeprom plugin for S8810-32Q
* Add sfputil plugin for S8810-32Q
* Add sensors config for S8810-32Q
* Add S8810-32Q HwSku port_config
* Add fancontrol config for S8810-32Q

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Add S8810-32Q platform support

* Add S8810-32Q platform support in Makefile

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>

* Fix build error on S8810 platform driver package

Signed-off-by: Jason Tsai <cytsai0409@gmail.com>
2017-08-16 07:38:10 -07:00
wadelnn 3f570a4cbf Update Ingrasys platform submodule (#764)
* Remove specific fancontrol service.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-06-29 01:41:12 -07:00
wadelnn 50aba596a9 [platform]: Update submodule platform/broadcom/sonic-platform-modules-ingrasys (#670)
* Update submodule platform/broadcom/sonic-platform-modules-ingrasys

* Fixed FAN Status Setup Error.
* Add Drivers deinitialization feature.
* Allow for updating drivers on a running system.
* Let fans returned to full speed when driver uninstalled.
* Change S8900-64XC fancontrol config
* Delete S9100 syncd.conf

Signed-off-by: Wade He <chihen.he@gmail.com>

* Update submodule
* Fixed build error in fsroot on different kernel versions between host and rootfs.
* Fixed Read HW Revision in CPLD.
* rmmod check to avoid error.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-06-07 10:29:19 -07:00
wadelnn fb4cd63ac5 [Ingrasys] Add Ingrasys S8900 series platform (#569)
* Add Ingrasys S8900 series platform

* Add Ingrasys S8900-54XC platform driver
* Add Ingrasys S8900-64XC platform driver
* Reorganized Ingrasys debian package
* Move fancontrol config to device-specific file directory
* QSFP transceivers init on S9100-32X
* Update Thermal Policy in sensors.conf
* Add new Ingrasys S8900 series platform for docker-orchagent/orchagent.sh

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-05-18 11:05:49 -07:00