ed-off-by: Shravan Kumar Ramani
Reviewed-by: Vadim Pasternak
Reviewed-by: Jiri Pirko
---
drivers/platform/mellanox/Kconfig | 10 +
drivers/platform/mellanox/Makefile|1 +
drivers/platform/mellanox/mlxbf-pmc.c | 1478 +
3 files changed, 1489 inse
of these performance modules
through a hwmon sysfs interface.
v1 --> v2
Remove unused headers.
Add comma to arrays where last line is not a termination.
Use kstrtoint in place of sscanf.
UUID manipulation follows drivers/platform/mellanox/mlxbf-bootctl.c
Signed-off-by: Shravan Kumar Ram
> -Original Message-
> From: Andy Shevchenko
> Sent: Monday, July 27, 2020 4:24 PM
> To: Shravan Ramani
> Cc: Andy Shevchenko ; Darren Hart
> ; Vadim Pasternak ; Jiri Pirko
> ; Platform Driver ;
> Linux Kernel Mailing List
> Subject: Re: [PATCH v1] platfo
of these performance modules
through a hwmon sysfs interface.
Signed-off-by: Shravan Kumar Ramani
Reviewed-by: Jiri Pirko
---
drivers/platform/mellanox/Kconfig | 10 +
drivers/platform/mellanox/Makefile|1 +
drivers/platform/mellanox/mlxbf-pmc.c | 1486
Changes since v6:
Use FIELD_GET and GENMASK instead of shifting/masking using separate macros
Shravan Kumar Ramani (1):
EDAC, mellanox: Add ECC support for BlueField DDR4
MAINTAINERS | 5 +
drivers/edac/Kconfig | 7 +
drivers/edac/Makefile | 1
Add ECC support for Mellanox BlueField SoC DDR controller.
This requires SMC to the running Arm Trusted Firmware to report
what is the current memory configuration.
Reviewed-by: James Morse
Signed-off-by: Shravan Kumar Ramani
---
MAINTAINERS | 5 +
drivers/edac/Kconfig
Add ECC support for Mellanox BlueField SoC DDR controller.
This requires SMC to the running Arm Trusted Firmware to report
what is the current memory configuration.
Reviewed-by: James Morse
Signed-off-by: Shravan Kumar Ramani
---
MAINTAINERS | 5 +
drivers/edac/Kconfig
Chnages since v5:
Use shifts/masks for SMC response fields.
Add limit check for dimm_per_mc read from firmware.
Make use of offset_in_page() call.
Shravan Kumar Ramani (1):
EDAC, mellanox: Add ECC support for BlueField DDR4
MAINTAINERS | 5 +
drivers/edac/Kconfig
Add ECC support for Mellanox BlueField SoC DDR controller.
This requires SMC to the running Arm Trusted Firmware to report
what is the current memory configuration.
Signed-off-by: Shravan Kumar Ramani
---
MAINTAINERS | 5 +
drivers/edac/Kconfig | 7 +
drivers/edac
Changes since v4:
Shorten long macro names.
Changes since v3:
Replace bitfields with shifts and masks.
Make use of SZ_ and PAGE_ macros.
Read DIMM count from the ACPI table instead of hard-coding the info in
the driver.
Shravan Kumar Ramani (1):
EDAC, mellanox: Add ECC support for BlueField
Add ECC support for Mellanox BlueField SoC DDR controller.
This requires SMC to the running Arm Trusted Firmware to report
what is the current memory configuration.
Signed-off-by: Shravan Kumar Ramani
---
MAINTAINERS | 5 +
drivers/edac/Kconfig | 7 +
drivers/edac
Changes since v3:
Replace bitfields with shifts and masks.
Make use of SZ_ and PAGE_ macros.
Read DIMM count from the ACPI table instead of hard-coding the info in
the driver.
Shravan Kumar Ramani (1):
EDAC, mellanox: Add ECC support for BlueField DDR4
MAINTAINERS | 5
Fixes a compile test failure
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 0d9ddff..530ee34 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 153
Changes since v5:
Use devm_platform_ioremap_resource().
Shravan Kumar Ramani (1):
gpio: add driver for Mellanox BlueField GPIO controller
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 153 ++
3
Changes since v4:
Use bgpio_init to make use of the generic MMIO library.
Remove routines made unnecessary by the above change.
Shravan Kumar Ramani (1):
gpio: add driver for Mellanox BlueField GPIO controller
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile | 1 +
drivers
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 7 +++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 154
EMC1444 is compatible with EMC1404. Add it to device ID table.
Reviewed-by: David Thompson
Signed-off-by: Shravan Kumar Ramani
---
drivers/hwmon/emc1403.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c
index bdab47a..88f6a40 100644
--- a
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 6 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 222
dirin or dirout to be set, never both.
But since our controller has 2 separate registers, using bgpio_init
might not be possible here.
Shravan Kumar Ramani (1):
gpio: add driver for Mellanox BlueField GPIO controller
drivers/gpio/Kconfig | 6 ++
drivers/gpio/Makefile | 1
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 6 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 222
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 6 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 246
Thank you for the feedback. Regarding the suggested use of regmap mmio, all of
the registers being accessed here are 64-bit and the
regmap_update_bits/regmap_read/regmap_write calls aren't very convenient to use
in this case. All other comments have been addressed in v2.
Regards,
Shravan
This patch adds support for the GPIO controller used by Mellanox
BlueField SOCs.
Reviewed-by: David Woods
Signed-off-by: Shravan Kumar Ramani
---
drivers/gpio/Kconfig | 7 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-mlxbf.c | 287
Hi experts,
i am new to this area,
I am using amstrong 3.8.13 kernel in BBB
at first i loaded the device tree as below,
echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots
then i used analog pins however i am getting the fixed values that is values
are not varying continously as i vary input
25 matches
Mail list logo