29 Oct, 2020

2 commits

  • .../Documentation/hwmon/mp2975.rst:25: WARNING: Unexpected indentation.
    .../Documentation/hwmon/mp2975.rst:27: WARNING: Block quote ends without a blank line; unexpected unindent.
    .../Documentation/hwmon/mp2975.rst:69: WARNING: Unexpected indentation.
    .../Documentation/hwmon/mp2975.rst:70: WARNING: Block quote ends without a blank line; unexpected unindent.
    .../Documentation/hwmon/mp2975.rst:72: WARNING: Bullet list ends without a blank line; unexpected unindent.
    .../Documentation/hwmon/mp2975.rst: WARNING: document isn't included in any toctree

    List blocks should have blank lines before and after them,
    in order to be properly parsed.

    Fixes: 4beb7a028e9f ("hwmon: (pmbus) Add support for MPS Multi-phase mp2975 controller")
    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Guenter Roeck
    Link: https://lore.kernel.org/r/b02f98d886ab1f5af233f8999c7a15529fc52cdc.1603791716.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The reference was missing the extension, causing the
    check script to complain.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Guenter Roeck
    Link: https://lore.kernel.org/r/3d64372dabcdcea144cdc9972c245812ea2a84cb.1603791716.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

15 Oct, 2020

1 commit

  • Pull MFD updates from Lee Jones:
    "New Drivers:
    - Add support for initialising shared (between children) Regmaps
    - Add support for Kontron SL28CPLD
    - Add support for ENE KB3930 Embedded Controller
    - Add support for Intel FPGA PAC MAX 10 BMC

    New Device Support:
    - Add support for Power to Ricoh RN5T618
    - Add support for UART to Intel Lakefield
    - Add support for LP87524_Q1 to Texas Instruments LP87565

    New Functionality:
    - Device Tree; ene-kb3930, sl28cpld, syscon, lp87565, lp87524-q1
    - Use new helper dev_err_probe(); madera-core, stmfx, wcd934x
    - Use new GPIOD API; dm355evm_msp
    - Add wake-up capability; sprd-sc27xx-spi
    - Add ACPI support; kempld-core

    Fix-ups:
    - Trivial (spelling/whitespace); Kconfig, ab8500
    - Fix for unused variables; khadas-mcu, kempld-core
    - Remove unused header file(s); mt6360-core
    - Use correct IRQ flags in docs; act8945a, gateworks-gsc, rohm,bd70528-pmic
    - Add COMPILE_TEST support; asic3, tmio_core
    - Add dependency on I2C; SL28CPLD

    Bug Fixes:
    - Fix memory leak(s); sm501
    - Do not free regmap_config's 'name' until exit; syscon"

    * tag 'mfd-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (34 commits)
    mfd: kempld-core: Fix unused variable 'kempld_acpi_table' when !ACPI
    mfd: sl28cpld: Depend on I2C
    mfd: asic3: Build if COMPILE_TEST=y
    dt-bindings: mfd: Correct interrupt flags in examples
    mfd: Add ACPI support to Kontron PLD driver
    mfd: intel-m10-bmc: Add Intel MAX 10 BMC chip support for Intel FPGA PAC
    mfd: lp87565: Add LP87524-Q1 variant
    dt-bindings: mfd: Add LP87524-Q1
    dt-bindings: mfd: lp87565: Convert to yaml
    mfd: mt6360: Remove unused include
    mfd: sm501: Fix leaks in probe()
    mfd: syscon: Don't free allocated name for regmap_config
    dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles
    dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings
    dt-bindings: mfd: ab8500: Remove weird Unicode characters
    mfd: sprd: Add wakeup capability for PMIC IRQ
    mfd: intel-lpss: Add device IDs for UART ports for Lakefield
    mfd: dm355evm_msp: Convert LEDs to GPIO descriptor table
    mfd: wcd934x: Simplify with dev_err_probe()
    mfd: stmfx: Simplify with dev_err_probe()
    ...

    Linus Torvalds
     

14 Oct, 2020

1 commit

  • Pull hwmon updates from Guenter Roeck:
    "New driver and chip support:
    - Moortec MR75203 PVT controller
    - MPS Multi-phase mp2975 controller
    - ADM1266
    - Zen3 CPUs
    - Intel MAX 10 BMC

    Enhancements:
    - Support for rated attributes in hwmon core
    - MAX20730:
    - Device monitoring via debugfs
    - VOUT readin adjustment vie devicetree bindings
    - LM75:
    - Devicetree support
    - Regulator support
    - Improved accumulationm logic in amd_energy driver
    - Added fan sensor to gsc-hwmon driver
    - Support for simplified I2C probing

    Various other minor fixes and improvements"

    * tag 'hwmon-for-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (64 commits)
    hwmon: (pmbus/max20730) adjust the vout reading given voltage divider
    dt-bindings: hwmon: max20730: adding device tree doc for max20730
    hwmon: Add hardware monitoring driver for Moortec MR75203 PVT controller
    hwmon: Add DT bindings schema for PVT controller
    dt-bindings: hwmon: Add the +vs supply to the lm75 bindings
    dt-bindings: hwmon: Convert lm75 bindings to yaml
    docs: hwmon: (ltc2945) update datasheet link
    hwmon: (mlxreg-fan) Fix double "Mellanox"
    hwmon: (pmbus/max20730) add device monitoring via debugfs
    hwmon: (pmbus/max34440) Fix OC fault limits
    hwmon: (bt1-pvt) Wait for the completion with timeout
    hwmon: (bt1-pvt) Cache current update timeout
    hwmon: (bt1-pvt) Test sensor power supply on probe
    hwmon: (lm75) Add regulator support
    hwmon: Add hwmon driver for Intel MAX 10 BMC
    dt-bindings: Add MP2975 voltage regulator device
    hwmon: (pmbus) Add support for MPS Multi-phase mp2975 controller
    hwmon: (tmp513) fix spelling typo in comments
    hwmon: (amd_energy) Update driver documentation
    hwmon: (amd_energy) Improve the accumulation logic
    ...

    Linus Torvalds
     

06 Oct, 2020

1 commit


04 Oct, 2020

3 commits

  • This patch adds hwmon functionality for Intel MAX 10 BMC chip. This BMC
    chip connects to a set of sensor chips to monitor current, voltage,
    thermal and power of different components on board. The BMC firmware is
    responsible for sensor data sampling and recording in shared registers.
    Host driver reads the sensor data from these shared registers and
    exposes them to users as hwmon interfaces.

    Signed-off-by: Xu Yilun
    Signed-off-by: Wu Hao
    Signed-off-by: Matthew Gerlach
    Signed-off-by: Tom Rix
    Reviewed-by: Guenter Roeck
    Link: https://lore.kernel.org/r/1600669071-26235-3-git-send-email-yilun.xu@intel.com
    [groeck: Adjusted subject]
    Signed-off-by: Guenter Roeck

    Xu Yilun
     
  • Add support for mp295 device from Monolithic Power Systems, Inc. (MPS)
    vendor. This is a dual-loop, digital, multi-phase controller.
    This device:
    - Supports two power rail.
    - Provides 8 pulse-width modulations (PWMs), and can be configured up
    to 8-phase operation for rail 1 and up to 4-phase operation for rail
    2.
    - Supports two pages 0 and 1 for telemetry and also pages 2 and 3 for
    configuration.
    - Can configured VOUT readout in direct or VID format and allows
    setting of different formats on rails 1 and 2. For VID the following
    protocols are available: VR13 mode with 5-mV DAC; VR13 mode with
    10-mV DAC, IMVP9 mode with 5-mV DAC.

    Signed-off-by: Vadim Pasternak
    Link: https://lore.kernel.org/r/20200926204957.10268-2-vadimp@nvidia.com
    [groeck: Cleaned up a couple of error returns; fixed up API changes]
    Signed-off-by: Guenter Roeck

    Vadim Pasternak
     
  • Update the documentation with the newly added features
    * Set the accumulation interval based on resolution

    Signed-off-by: Naveen Krishna Chatradhi
    Link: https://lore.kernel.org/r/20200929105322.8919-5-nchatrad@amd.com
    Signed-off-by: Guenter Roeck

    Naveen Krishna Chatradhi
     

24 Sep, 2020

5 commits

  • Add pmbus probing driver for the adm1266 Cascadable
    Super Sequencer with Margin Control and Fault Recording.
    Driver is using the pmbus_core, creating sysfs files
    under hwmon for inputs: vh1->vh4 and vp1->vp13.

    Signed-off-by: Alexandru Tachici
    Link: https://lore.kernel.org/r/20200812142055.9213-2-alexandru.tachici@analog.com
    [groeck: Use .probe_new function, adjust for changed pmbus_do_probe API]
    Signed-off-by: Guenter Roeck

    Alexandru Tachici
     
  • pmbus_do_probe doesn't use the id information provided in its second
    argument, so this can be removed, which then allows using the
    single-parameter i2c probe function ("probe_new") for probes.

    This avoids scanning the identifier tables during probes.

    Drivers which didn't use the id are converted as-is; drivers which did
    are modified as follows:

    * if the information in i2c_client is sufficient, that's used instead
    (client->name);
    * configured v. probed comparisons are performed by comparing the
    configured name to the detected name, instead of the ids; this
    involves strcmp but is still cheaper than comparing all the device
    names when scanning the tables;
    * anything else is handled by calling i2c_match_id() with the same
    level of error-handling (if any) as before.

    Additionally, the mismatch message in the ltc2978 driver is adjusted
    so that it no longer assumes that the driver_data is an index into
    ltc2978_id.

    Signed-off-by: Stephen Kitt
    Acked-by: Wolfram Sang
    Link: https://lore.kernel.org/r/20200808210004.30880-1-steve@sk2.org
    Signed-off-by: Guenter Roeck

    Stephen Kitt
     
  • On some drives, reading the drive temperature resets the drive's
    spin-down timer. If the drive temperature is read too often, affected
    drives will never spin down. Add this information as usage note to
    the driver documentation.

    Reported-by: Peter Sulyok
    Cc: Peter Sulyok
    Signed-off-by: Guenter Roeck

    Guenter Roeck
     
  • Adding implementation for new attributes (rated_min/rated_max) to
    cover PMBus specification about rated values reporting:
    MFR_VIN_MIN, MFR_VIN_MAX, MFR_IIN_MAX, MFR_PIN_MAX, MFR_VOUT_MIN,
    MFR_VOUT_MAX, MFR_IOUT_MAX, MFR_POUT_MAX, MFR_MAX_TEMP_1/2/3.

    Tested with OpenBMC stack. All rated attributes were available
    and reported correct values.

    Signed-off-by: Zbigniew Lukwinski
    Link: https://lore.kernel.org/r/1596224237-32280-4-git-send-email-zbigniew.lukwinski@linux.intel.com
    Signed-off-by: Guenter Roeck

    Zbigniew Lukwinski
     
  • New attributes (rated_min/rated_max) are being added the hwmon ABI.
    They are needed to cover rated values documented by PMBus
    specification:
    PMBus Power System Mgt Protocol Specification - Part II – Revision 1.3.1,
    chapters: 22.3.1 - 22.3.10, 22.3.15

    Signed-off-by: Zbigniew Lukwinski
    Link: https://lore.kernel.org/r/1596224237-32280-2-git-send-email-zbigniew.lukwinski@linux.intel.com
    Signed-off-by: Guenter Roeck

    Zbigniew Lukwinski
     

17 Sep, 2020

1 commit


11 Sep, 2020

1 commit


25 Aug, 2020

1 commit


06 Aug, 2020

1 commit

  • Pull hwmon updates from Guenter Roeck:
    "Highlights:
    - New driver for Sparx5 SoC temperature sensot
    - New driver for Corsair Commander Pro
    - MAX20710 support added to max20730 driver

    Enhancements:
    - max6697: Allow max6581 to create tempX_offset attributes
    - gsc (Gateworks System Controller): add 16bit pre-scaled voltage mode
    - adm1275: Enable adm1278 ADM1278_TEMP1_EN
    - dell-smm: Add Latitude 5480 to fan control whitelist

    Fixes:
    - adc128d818: Fix advanced configuration register init
    - pmbus/core: Use s64 instead of long for calculations to fix
    overflow issues with 32-bit architectures

    Plus various cleanups in several drivers"

    * tag 'hwmon-for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (32 commits)
    hwmon: (adc128d818) Fix advanced configuration register init
    hwmon: (axi-fan-control) remove duplicate macros
    hwmon: (i5k_amb, vt8231) Drop uses of pci_read_config_*() return value
    hwmon: (sparx5) Make symbol 's5_temp_match' static
    hwmon: (corsair-cpro) add reading pwm values
    hwmon: sparx5: Add Sparx5 SoC temperature driver
    dt-bindings: hwmon: Add Sparx5 temperature sensor
    hwmon: (tmp401) Replace HTTP links with HTTPS ones
    hwmon: (lm95234) Replace HTTP links with HTTPS ones
    hwmon: (lm90) Replace HTTP links with HTTPS ones
    hwmon: (k8temp) Replace HTTP links with HTTPS ones
    hwmon: (jc42) Replace HTTP links with HTTPS ones
    hwmon: (ina2xx) Replace HTTP links with HTTPS ones
    hwmon: (ina209) Replace HTTP links with HTTPS ones
    hwmon: Replace HTTP links with HTTPS ones
    docs: hwmon: Replace HTTP links with HTTPS ones
    hwmon: (adm1025) Replace HTTP links with HTTPS ones
    hwmon: add Corsair Commander Pro driver
    hwmon: (max6697) Allow max6581 to create tempX_offset
    hwmon: (tmmp513) Replace HTTP links with HTTPS links
    ...

    Linus Torvalds
     

27 Jul, 2020

1 commit


24 Jul, 2020

19 commits

  • This adds the possibility for reading pwm values.
    These can not be read if the device is controlled via
    fan_target or a fan curve and will return an error in
    this case. Since an error is expected, this adds some
    rudimentary error handling.

    Changes:
    - add CTL_GET_FAN_PWM and use it via get_data
    - pwm returns -ENODATA if the device returns error 0x12
    - fan_target now returns -ENODATA when the driver is
    started or a pwm value is set.
    - add ccp_get_errno to determine errno from device error.
    - get_data now has a parameter to determine whether
    to read one or two bytes of data.
    - update documentation
    - fix missing surname in MAINTAINERS

    Signed-off-by: Marius Zachmann
    Signed-off-by: Guenter Roeck

    Marius Zachmann
     
  • This patch adds a temperature sensor driver to the Sparx5 SoC.

    Signed-off-by: Lars Povlsen
    Reviewed-by: Guenter Roeck
    Link: https://lore.kernel.org/r/20200618135951.25441-4-lars.povlsen@microchip.com
    Signed-off-by: Guenter Roeck

    Lars Povlsen
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719192544.61247-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719191534.61181-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719190525.61112-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719183548.61011-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719182539.60944-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719181530.60878-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719180521.60811-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719175512.60745-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719170420.60399-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • This is v7 of a driver for the Corsair Commander Pro.
    It provides sysfs attributes for:
    - Reading fan speed
    - Reading temp sensors
    - Reading voltage values
    - Writing pwm and reading last written pwm
    - Reading fan and temp connection status

    It is an usb driver, so it needs to be ignored by usbhid.
    The Corsair Commander Pro is a fan controller and provides
    no means for user interaction.
    The two device numbers are there, because there is a slightly
    different version of the same device. (Only difference
    seem to be in some presets.)

    Squashed:
    hwmon: (corsair-cpro) add fan_target

    This adds fan_target entries to the corsair-cpro driver.
    Reading the attribute from the device does not seem possible, so
    it returns the last set value (same as pwm).

    send_usb_cmd now has one more argument, which is needed for the
    fan_target command.

    hwmon: corsair-cpro: Change to HID driver

    This changes corsair-cpro to a hid driver using hid reports.

    Signed-off-by: Marius Zachmann
    Reviewed-by: Guenter Roeck
    Link: https://lore.kernel.org/r/20200626055936.4441-1-mail@mariuszachmann.de
    Link: https://lore.kernel.org/r/20200709141413.30790-1-mail@mariuszachmann.de
    [groeck: Squashed follow-up patches to avoid changes in HID code]
    Signed-off-by: Guenter Roeck

    Marius Zachmann
     
  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200703185657.15329-1-grandmaster@al2klimov.de
    Signed-off-by: Guenter Roeck

    Alexander A. Klimov
     
  • Drop the doubled word "readings".

    Signed-off-by: Randy Dunlap
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: linux-hwmon@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703205649.30125-6-rdunlap@infradead.org
    Acked-by: Mike Rapoport
    Signed-off-by: Guenter Roeck

    Randy Dunlap
     
  • Drop the doubled word "and".

    Signed-off-by: Randy Dunlap
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: linux-hwmon@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703205649.30125-5-rdunlap@infradead.org
    Acked-by: Mike Rapoport
    Signed-off-by: Guenter Roeck

    Randy Dunlap
     
  • Drop the doubled word "be".

    Signed-off-by: Randy Dunlap
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: linux-hwmon@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703205649.30125-4-rdunlap@infradead.org
    Acked-by: Mike Rapoport
    Signed-off-by: Guenter Roeck

    Randy Dunlap
     
  • Drop the doubled word "the".

    Signed-off-by: Randy Dunlap
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: linux-hwmon@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703205649.30125-3-rdunlap@infradead.org
    Acked-by: Mike Rapoport
    Signed-off-by: Guenter Roeck

    Randy Dunlap
     
  • Drop the doubled word "to".

    Signed-off-by: Randy Dunlap
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Jean Delvare
    Cc: Guenter Roeck
    Cc: linux-hwmon@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703205649.30125-2-rdunlap@infradead.org
    Acked-by: Mike Rapoport
    Signed-off-by: Guenter Roeck

    Randy Dunlap
     
  • Add support for max20710 into the existing max20730 driver.

    Signed-off-by: Ugur Usug
    Link: https://lore.kernel.org/r/BYAPR11MB317423C13909AE6F1913BBD7FD9C0@BYAPR11MB3174.namprd11.prod.outlook.com
    [groeck: Fixed various whitespace errors]
    Signed-off-by: Guenter Roeck

    Ugur Usug
     

04 Jun, 2020

1 commit

  • Pull networking updates from David Miller:

    1) Allow setting bluetooth L2CAP modes via socket option, from Luiz
    Augusto von Dentz.

    2) Add GSO partial support to igc, from Sasha Neftin.

    3) Several cleanups and improvements to r8169 from Heiner Kallweit.

    4) Add IF_OPER_TESTING link state and use it when ethtool triggers a
    device self-test. From Andrew Lunn.

    5) Start moving away from custom driver versions, use the globally
    defined kernel version instead, from Leon Romanovsky.

    6) Support GRO vis gro_cells in DSA layer, from Alexander Lobakin.

    7) Allow hard IRQ deferral during NAPI, from Eric Dumazet.

    8) Add sriov and vf support to hinic, from Luo bin.

    9) Support Media Redundancy Protocol (MRP) in the bridging code, from
    Horatiu Vultur.

    10) Support netmap in the nft_nat code, from Pablo Neira Ayuso.

    11) Allow UDPv6 encapsulation of ESP in the ipsec code, from Sabrina
    Dubroca. Also add ipv6 support for espintcp.

    12) Lots of ReST conversions of the networking documentation, from Mauro
    Carvalho Chehab.

    13) Support configuration of ethtool rxnfc flows in bcmgenet driver,
    from Doug Berger.

    14) Allow to dump cgroup id and filter by it in inet_diag code, from
    Dmitry Yakunin.

    15) Add infrastructure to export netlink attribute policies to
    userspace, from Johannes Berg.

    16) Several optimizations to sch_fq scheduler, from Eric Dumazet.

    17) Fallback to the default qdisc if qdisc init fails because otherwise
    a packet scheduler init failure will make a device inoperative. From
    Jesper Dangaard Brouer.

    18) Several RISCV bpf jit optimizations, from Luke Nelson.

    19) Correct the return type of the ->ndo_start_xmit() method in several
    drivers, it's netdev_tx_t but many drivers were using
    'int'. From Yunjian Wang.

    20) Add an ethtool interface for PHY master/slave config, from Oleksij
    Rempel.

    21) Add BPF iterators, from Yonghang Song.

    22) Add cable test infrastructure, including ethool interfaces, from
    Andrew Lunn. Marvell PHY driver is the first to support this
    facility.

    23) Remove zero-length arrays all over, from Gustavo A. R. Silva.

    24) Calculate and maintain an explicit frame size in XDP, from Jesper
    Dangaard Brouer.

    25) Add CAP_BPF, from Alexei Starovoitov.

    26) Support terse dumps in the packet scheduler, from Vlad Buslov.

    27) Support XDP_TX bulking in dpaa2 driver, from Ioana Ciornei.

    28) Add devm_register_netdev(), from Bartosz Golaszewski.

    29) Minimize qdisc resets, from Cong Wang.

    30) Get rid of kernel_getsockopt and kernel_setsockopt in order to
    eliminate set_fs/get_fs calls. From Christoph Hellwig.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2517 commits)
    selftests: net: ip_defrag: ignore EPERM
    net_failover: fixed rollback in net_failover_open()
    Revert "tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv"
    Revert "tipc: Fix potential tipc_node refcnt leak in tipc_rcv"
    vmxnet3: allow rx flow hash ops only when rss is enabled
    hinic: add set_channels ethtool_ops support
    selftests/bpf: Add a default $(CXX) value
    tools/bpf: Don't use $(COMPILE.c)
    bpf, selftests: Use bpf_probe_read_kernel
    s390/bpf: Use bcr 0,%0 as tail call nop filler
    s390/bpf: Maintain 8-byte stack alignment
    selftests/bpf: Fix verifier test
    selftests/bpf: Fix sample_cnt shared between two threads
    bpf, selftests: Adapt cls_redirect to call csum_level helper
    bpf: Add csum_level helper for fixing up csum levels
    bpf: Fix up bpf_skb_adjust_room helper's skb csum setting
    sfc: add missing annotation for efx_ef10_try_update_nic_stats_vf()
    crypto/chtls: IPv6 support for inline TLS
    Crypto/chcr: Fixes a coccinile check error
    Crypto/chcr: Fixes compilations warnings
    ...

    Linus Torvalds
     

28 May, 2020

1 commit

  • Baikal-T1 SoC provides an embedded process, voltage and temperature
    sensor to monitor an internal SoC environment (chip temperature, supply
    voltage and process monitor) and on time detect critical situations,
    which may cause the system instability and even damages. The IP-block
    is based on the Analog Bits PVT sensor, but is equipped with a
    dedicated control wrapper, which provides a MMIO registers-based access
    to the sensor core functionality (APB3-bus based) and exposes an
    additional functions like thresholds/data ready interrupts, its status
    and masks, measurements timeout. All of these is used to create a hwmon
    driver being added to the kernel by this commit.

    The driver implements support for the hardware monitoring capabilities
    of Baikal-T1 process, voltage and temperature sensors. PVT IP-core
    consists of one temperature and four voltage sensors, each of which is
    implemented as a dedicated hwmon channel config.

    The driver can optionally provide the hwmon alarms for each sensor the
    PVT controller supports. The alarms functionality is made compile-time
    configurable due to the hardware interface implementation peculiarity,
    which is connected with an ability to convert data from only one sensor
    at a time. Additional limitation is that the controller performs the
    thresholds checking synchronously with the data conversion procedure.
    Due to these limitations in order to have the hwmon alarms
    automatically detected the driver code must switch from one sensor to
    another, read converted data and manually check the threshold status
    bits. Depending on the measurements timeout settings this design may
    cause additional burden on the system performance. By default if the
    alarms kernel config is disabled the data conversion is performed by
    the driver on demand when read operation is requested via corresponding
    _input-file.

    Co-developed-by: Maxim Kaurkin
    Signed-off-by: Maxim Kaurkin
    Signed-off-by: Serge Semin
    Cc: Alexey Malahov
    Cc: Thomas Bogendoerfer
    Cc: Arnd Bergmann
    Cc: Rob Herring
    Cc: linux-mips@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Signed-off-by: Guenter Roeck

    Serge Semin
     

22 May, 2020

1 commit