Skip to content

[PW_SID:1101510] [RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC#2023

Open
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1101510
Open

[PW_SID:1101510] [RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC#2023
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1101510

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1101510 applied to workflow__riscv__fixes

Name: [RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1101510
Version: 1

Add a driver for the temperature and voltage sensors on PolarFire SoC.
The temperature reports how hot the die is, and the voltages are the
SoC's 1.05, 1.8 and 2.5 volt rails respectively.

The hardware supports alarms in theory, but there is an unconfirmed
erratum that prevents clearing them once triggered, so no support is
added.

The hardware measures voltage with 16 bits, of which 1 is a sign bit and
the remainder holds the voltage as a fixed point integer value. It's
improbable that the hardware will work if the voltages are negative, so
the driver ignores the sign bits.

There's no dt support etc here because this is the child of a simple-mfd
syscon.

Signed-off-by: Lars Randers <lranders@mail.dk>
Co-developed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 138.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1061.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1433.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.53 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 3.87 seconds
Result: WARNING
Output:

CHECK: Please don't use multiple blank lines
#410: FILE: drivers/hwmon/tvs-mpfs.c:249:
+
+

total: 0 errors, 0 warnings, 1 checks, 488 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 18a21b5d256e ("hwmon: add a driver for the temp/voltage sensor on PolarFire SoC") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 0 warnings, 1 checks, 488 lines checked
CHECK: Please don't use multiple blank lines


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 86.39 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
module-param
Desc: Detect module_param changes
Duration: 0.36 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[RFC] hwmon: add a driver for the temp/voltage sensor on PolarFire SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants