[PATCH] docs: driver-api: gpio: consumer: Mark another line of code as such

2021-03-03 Thread Jonathan Neuschäfer
Make it so that this #include line is rendered in monospace, like other code blocks. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/gpio/consumer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/gpio/consumer.rst b/Documentation

Re: [PATCH v3] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-03-20 Thread Jonathan Neuschäfer
rd. > https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts#L9 I see. > > but still also option V2 is good for us. That's good to know. Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH v4 1/2] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-03-20 Thread Jonathan Neuschäfer
f the binding a little simpler. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- v4: - After some discussion with Rob and Tomer, I reverted the patch back to v2. - Applied Rob's R-b v3: - https://lore.kernel.org/lkml/20210313175321.2515675-1-j.neuschae...@gmx.net/ - Removed boar

[PATCH v4 2/2] ARM: dts: Add board-specific compatible string to npcm750-evb devicetree

2021-03-20 Thread Jonathan Neuschäfer
According to the revised binding, the devicetree needs a board-specific compatible string. Signed-off-by: Jonathan Neuschäfer --- v4: - the same as v2 v2: - no changes --- arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 00/14] Initial support for Nuvoton WPCM450 BMC SoC

2021-03-20 Thread Jonathan Neuschäfer
c2, and doesn't cleanly apply to OpenBMC's dev-5.10 branch (there are some trivial merge conflicts). Jonathan Neuschäfer (14): dt-bindings: vendor-prefixes: Add Supermicro dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string dt-bindings: interrupt-controller: Add nuvoton,

[PATCH 01/14] dt-bindings: vendor-prefixes: Add Supermicro

2021-03-20 Thread Jonathan Neuschäfer
Super Micro Computer, Inc. (https://www.supermicro.com/en/), commonly known as Supermicro, is a manufacturer of server hardware. Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH 02/14] dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string

2021-03-20 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. Signed-off-by: Jonathan Neuschäfer --- This patch requires "dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML" (https://lore.kernel.org/lkml/20210320164023.614059-1-j.neuschae.

[PATCH 04/14] dt-bindings: serial: 8250: Add nuvoton,wpcm450-uart

2021-03-20 Thread Jonathan Neuschäfer
Add a compatible string for the UART inside the Nuvoton WPCM450 SoC. Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/serial/8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree

[PATCH 03/14] dt-bindings: interrupt-controller: Add nuvoton,wpcm450-aic

2021-03-20 Thread Jonathan Neuschäfer
The WPCM450 AIC ("Advanced Interrupt Controller") is the interrupt controller found in the Nuvoton WPCM450 SoC and other Winbond/Nuvoton SoCs. Signed-off-by: Jonathan Neuschäfer --- .../nuvoton,wpcm450-aic.yaml | 39 +++ 1 file changed, 39 insertions(

[PATCH 05/14] dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer

2021-03-20 Thread Jonathan Neuschäfer
Add a compatible string for WPCM450, which has essentially the same timer controller. Signed-off-by: Jonathan Neuschäfer --- .../devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt| 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH 06/14] dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt

2021-03-20 Thread Jonathan Neuschäfer
Add a compatible string for the WPCM450 SoC, which has the same watchdog timer. Signed-off-by: Jonathan Neuschäfer --- .../devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/watchdog

[PATCH 07/14] ARM: npcm: Introduce Nuvoton WPCM450 SoC

2021-03-20 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. Signed-off-by: Jonathan Neuschäfer --- arch/arm/mach-npcm/Kconfig | 12 +++- arch/arm/mach-npcm/Makefile | 1 + arch/arm/mach-npcm/wpcm450.c | 13 + 3 files changed, 25

[PATCH 08/14] irqchip: Add driver for WPCM450 interrupt controller

2021-03-20 Thread Jonathan Neuschäfer
modes, the driver only supports high-level interrupts at the moment, because other modes could not be tested so far. Signed-off-by: Jonathan Neuschäfer --- arch/arm/mach-npcm/Kconfig| 1 + drivers/irqchip/Kconfig | 6 ++ drivers/irqchip/Makefile | 1 + drivers/i

[PATCH 09/14] serial: 8250_of: Add nuvoton,wpcm450-uart

2021-03-20 Thread Jonathan Neuschäfer
Add a compatible string for the UART inside the Nuvoton WPCM450 SoC. It works the same as the UART in NPCM750. Signed-off-by: Jonathan Neuschäfer --- drivers/tty/serial/8250/8250_of.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial

[PATCH 10/14] clocksource/drivers/npcm: Add support for WPCM450

2021-03-20 Thread Jonathan Neuschäfer
Add a compatible string for WPCM450, which has essentially the same timer controller. Signed-off-by: Jonathan Neuschäfer --- drivers/clocksource/timer-npcm7xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/timer-npcm7xx.c b/drivers/clocksource/timer-npcm7xx.c index

[PATCH 11/14] watchdog: npcm: Add support for WPCM450

2021-03-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- drivers/watchdog/npcm_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c index 765577f11c8db..28a24caa2627c 100644 --- a/drivers/watchdog/npcm_wdt.c +++ b/drivers/watchdog/npcm_wdt.c @@ -229,6

[PATCH 12/14] ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip

2021-03-20 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. This patch adds a devicetree with basic functionality. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 76 ++ 1 file changed, 76

[PATCH 13/14] ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450

2021-03-20 Thread Jonathan Neuschäfer
The Supermicro X9SCi-LN4F is a server mainboard featuring the WPCM450 BMC. This patch adds a minimal devicetree for Linux running on the BMC. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/Makefile| 2 + .../nuvoton-wpcm450-supermicro-x9sci-ln4f.dts | 40

[PATCH 14/14] MAINTAINERS: Nuvoton NPCM: Add wpcm patterns

2021-03-20 Thread Jonathan Neuschäfer
Make sure that patches related to the Nuvoton WPCM450 (part of the NPCM family) find the Nuvoton NPCM maintainers and reviewers. I am adding myself as a reviewer, so that I don't miss these patches. Signed-off-by: Jonathan Neuschäfer --- --- MAINTAINERS | 11 ++- 1 file chang

Re: [PATCH] workqueue: Switch to new kerneldoc syntax for named variable macro argument

2021-03-20 Thread Jonathan Neuschäfer
On Sat, Mar 20, 2021 at 02:23:30PM -0400, Tejun Heo wrote: > On Wed, Mar 03, 2021 at 08:16:38PM +0100, Jonathan Neuschäfer wrote: > > The syntax without dots is available since commit 43756e347f21 > > ("scripts/kernel-doc: Add support for named variable macro arguments"

[PATCH RESEND] workqueue: Switch to new kerneldoc syntax for named variable macro argument

2021-03-20 Thread Jonathan Neuschäfer
The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Signed-off-by: Jonathan Neuschäfer Acked-by: Tejun Heo --- include/linux/workqueue.h

Re: [PATCH 13/14] ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450

2021-03-20 Thread Jonathan Neuschäfer
On Sat, Mar 20, 2021 at 07:16:09PM +0100, Jonathan Neuschäfer wrote: > The Supermicro X9SCi-LN4F is a server mainboard featuring the WPCM450 > BMC. This patch adds a minimal devicetree for Linux running on the BMC. > > Signed-off-by: Jonathan Neuschäfer > --- [.

Re: [PATCH 00/14] Initial support for Nuvoton WPCM450 BMC SoC

2021-03-20 Thread Jonathan Neuschäfer
On Sat, Mar 20, 2021 at 07:15:56PM +0100, Jonathan Neuschäfer wrote: > This series adds basic support for the Nuvoton WPCM450 BMC SoC. It's an older > SoC but still commonly found on eBay, mostly in Supermicro X9 server boards. Something I forgot to mention: I wrote a bit of

Re: [PATCH 11/14] watchdog: npcm: Add support for WPCM450

2021-03-20 Thread Jonathan Neuschäfer
On Sat, Mar 20, 2021 at 01:24:31PM -0700, Guenter Roeck wrote: > On 3/20/21 11:16 AM, Jonathan Neuschäfer wrote: > > Patch description goes here. Ah right, I forgot to add one. I'll fix it in the next iteration. Jonathan signature.asc Description: PGP signature

Re: [PATCH 00/14] Initial support for Nuvoton WPCM450 BMC SoC

2021-03-21 Thread Jonathan Neuschäfer
On Sun, Mar 21, 2021 at 01:07:53PM +0200, Tomer Maimon wrote: > Hi Jonathan, > > Thanks a lot for trying to add WPCM450. > > Hoever WPCM450 is in EOL for several years and we are not supporting this > product anymore. > As you said it is only available in the secondary market. > > Due to it is b

[PATCH] MAINTAINERS: Combine "QLOGIC QLGE 10Gb ETHERNET DRIVER" sections into one

2021-03-21 Thread Jonathan Neuschäfer
There ended up being two sections with the same title. Combine the two into one section. Signed-off-by: Jonathan Neuschäfer Cc: Manish Chopra Cc: Coiby Xu --- MAINTAINERS | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index d92f85ca831d3

Re: [PATCH v3] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-03-15 Thread Jonathan Neuschäfer
On Mon, Mar 15, 2021 at 10:23:38AM -0600, Rob Herring wrote: > On Sat, Mar 13, 2021 at 06:53:20PM +0100, Jonathan Neuschäfer wrote: > > The general trend is to have devicetree bindings in YAML format, to > > allow automatic validation of bindings and devicetrees. > > >

Re: [PATCH 08/14] irqchip: Add driver for WPCM450 interrupt controller

2021-03-26 Thread Jonathan Neuschäfer
On Wed, Mar 24, 2021 at 05:16:35PM +, Marc Zyngier wrote: > On Sat, 20 Mar 2021 18:16:04 +, > Jonathan Neuschäfer wrote: > > > > The WPCM450 AIC ("Advanced Interrupt Controller") is the interrupt > > controller found in the Nuvoton WPCM450 SoC

[PATCH v2 00/10] Initial support for Nuvoton WPCM450 BMC SoC

2021-04-06 Thread Jonathan Neuschäfer
Greg KH v1: - https://lore.kernel.org/lkml/20210320181610.680870-1-j.neuschae...@gmx.net/ Jonathan Neuschäfer (10): dt-bindings: vendor-prefixes: Add Supermicro dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string dt-bindings: interrupt-controller: Add nuvoton,wpcm450-aic dt-bindings:

[PATCH v2 01/10] dt-bindings: vendor-prefixes: Add Supermicro

2021-04-06 Thread Jonathan Neuschäfer
Super Micro Computer, Inc. (https://www.supermicro.com/en/), commonly known as Supermicro, is a manufacturer of server hardware. Signed-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v2: - Added Rob's ACK --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file ch

[PATCH v2 02/10] dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string

2021-04-06 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. Signed-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- This patch requires "dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML" (https://lore.kernel.org/lkml/2021032016402

[PATCH v2 03/10] dt-bindings: interrupt-controller: Add nuvoton,wpcm450-aic

2021-04-06 Thread Jonathan Neuschäfer
The WPCM450 AIC ("Advanced Interrupt Controller") is the interrupt controller found in the Nuvoton WPCM450 SoC and other Winbond/Nuvoton SoCs. Signed-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v2: - Added Rob's ACK --- .../nuvoton,wpcm450-aic.yaml

[PATCH v2 05/10] ARM: npcm: Introduce Nuvoton WPCM450 SoC

2021-04-06 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. Signed-off-by: Jonathan Neuschäfer --- v2: - Reorder lines in Makefile by model number (WPCM450 < NPCM7xx) --- arch/arm/mach-npcm/Kconfig | 12 +++- arch/arm/mach-npcm/Makefile |

[PATCH v2 06/10] irqchip: Add driver for WPCM450 interrupt controller

2021-04-06 Thread Jonathan Neuschäfer
modes, the driver only supports high-level interrupts at the moment, because other modes could not be tested so far. Signed-off-by: Jonathan Neuschäfer --- v2: - Rename IRQS macro to AIC_NUM_IRQS - Fix IRQ range check - Use linux/printk.h header instead of linux/console.h - Add AIC_SCR_PRIORITY_MAS

[PATCH v2 04/10] dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt

2021-04-06 Thread Jonathan Neuschäfer
Add a compatible string for the WPCM450 SoC, which has the same watchdog timer. Signed-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v2: - Added Rob's ACK --- .../devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2 08/10] ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip

2021-04-06 Thread Jonathan Neuschäfer
The WPCM450 is an older BMC SoC in the Nuvoton NPCM family, originally marketed as Winbond WPCM450. This patch adds a devicetree with basic functionality. Signed-off-by: Jonathan Neuschäfer --- v2: - no changes --- arch/arm/boot/dts/nuvoton-wpcm450.dtsi | 76 ++ 1 file

[PATCH v2 09/10] ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450

2021-04-06 Thread Jonathan Neuschäfer
The Supermicro X9SCi-LN4F is a server mainboard featuring the WPCM450 BMC. This patch adds a minimal devicetree for Linux running on the BMC. Signed-off-by: Jonathan Neuschäfer --- v2: - Group wpcm450 devicetree with npcm7xx devicetrees in the Makefile --- arch/arm/boot/dts/Makefile

[PATCH v2 10/10] MAINTAINERS: Add entry for Nuvoton WPCM450

2021-04-06 Thread Jonathan Neuschäfer
I am adding myself as the maintainer of WPCM450-related code. Signed-off-by: Jonathan Neuschäfer --- v2: - Instead of expanding the NPCM entry, I'm adding a new one only for WPCM450. --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH v2 07/10] watchdog: npcm: Add support for WPCM450

2021-04-06 Thread Jonathan Neuschäfer
Add a compatible string for WPCM450, which has essentially the same watchdog mechanism as NPCM750. Signed-off-by: Jonathan Neuschäfer --- v2: - Added patch description --- drivers/watchdog/npcm_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/npcm_wdt.c b/drivers

Re: [PATCH v3 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-06 Thread Jonathan Neuschäfer
Rob's devicetree lint bot detected the mismatch in compatible string here. I personally think 'hycon,hy4633' looks better than 'hycon,hycon-hy4633', because it isn't so redundant. Best regards, Jonathan Neuschäfer signature.asc Description: PGP signature

Re: [PATCH v2 00/10] Initial support for Nuvoton WPCM450 BMC SoC

2021-04-06 Thread Jonathan Neuschäfer
On Tue, Apr 06, 2021 at 05:15:01PM +0200, Arnd Bergmann wrote: > On Tue, Apr 6, 2021 at 2:09 PM Jonathan Neuschäfer > wrote: > > > > This series adds basic support for the Nuvoton WPCM450 BMC SoC. It's an > > older > > SoC but still commonly found on eBay, mo

Re: [PATCH v2 06/10] irqchip: Add driver for WPCM450 interrupt controller

2021-04-07 Thread Jonathan Neuschäfer
On Wed, Apr 07, 2021 at 12:11:21PM +0100, Marc Zyngier wrote: > On Tue, 06 Apr 2021 13:09:17 +0100, > Jonathan Neuschäfer wrote: ... > > diff --git a/arch/arm/mach-npcm/Kconfig b/arch/arm/mach-npcm/Kconfig > > index 658c8efb4ca14..a71cf1d189ae5 100644 > > --- a/ar

Re: [PATCH v2 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-02 Thread Jonathan Neuschäfer
ing the report speed(i.e 0x64 => 100Hz). > +$ref: /schemas/types.yaml#/definitions/uint32 > +minimum: 0 > +maximum: 255 Please add a space before the opening parenthesis: +description: Allows setting the report speed (i.e 0x64 => 100Hz). Or perhaps like this: +description: Allows setting the report speed in Hertz. Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

Re: [PATCH v2 3/3] Input: add driver for the Hycon HY46XX touchpanel series

2021-04-02 Thread Jonathan Neuschäfer
27;t have the "hycon," prefix. Please check that the driver still works with a devicetree that follows the newest version of the binding. > +MODULE_AUTHOR("Giulio Benetti "); This is a different email address than you used in the DT binding. If this is intentional, no problem (Just letting you know, in case it's unintentional). Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

Re: [PATCH 08/14] irqchip: Add driver for WPCM450 interrupt controller

2021-04-05 Thread Jonathan Neuschäfer
On Fri, Mar 26, 2021 at 07:52:07PM +0100, Jonathan Neuschäfer wrote: > On Wed, Mar 24, 2021 at 05:16:35PM +, Marc Zyngier wrote: > > On Sat, 20 Mar 2021 18:16:04 +, Jonathan Neuschäfer > > wrote: [...] > > > + /* Disable (mask) all interrupts */ > > &g

Re: [PATCH v7 23/23] [DO NOT MERGE] arm64: Cope with CPUs stuck in VHE mode

2021-02-22 Thread Jonathan Neuschäfer
rm and Firestorm), which makes "CPU known as Apple M1" a bit imprecise. In practicality it seems unlikely though, that Icestorm and Firestorm act differently with regards to the code in this patch. Best regards, Jonathan Neuschäfer > > Try and work around this deplorable state of affa

[PATCH v2] mtd: spi-nor: Fix multiple typos

2020-11-30 Thread Jonathan Neuschäfer
There are a few typos in comments in the SPI NOR framework; fix them. Signed-off-by: Jonathan Neuschäfer --- drivers/mtd/spi-nor/core.c | 4 ++-- drivers/mtd/spi-nor/sfdp.c | 2 +- include/linux/mtd/spi-nor.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd

[PATCH v5 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-11-30 Thread Jonathan Neuschäfer
descriptions and removed patch 1/10 "DT bindings in plain text format" - New patch 7/10 "rtc: Introduce RTC_TIMESTAMP_END_2255" - Rebased on 5.9-rc3 - Various other changes which are documented in each patch v1: - https://lore.kernel.org/lkml/20200620223915.1311485-1-j.neuschae..

[PATCH v5 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-11-30 Thread Jonathan Neuschäfer
ned-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v4, v5: - No changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-2-j.neuschae...@gmx.net/ - Add Acked-by tag v2: - No changes --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v5 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller

2020-11-30 Thread Jonathan Neuschäfer
. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- v5: - no changes v4: - Add R-b tag v3: - https://lore.kernel.org/lkml/20200924192455.2484005-3-j.neuschae...@gmx.net/ - Remove binding in text form patch description again - Add additionalProperties: false - Remove interrupt-controller

[PATCH v5 3/7] mfd: Add base driver for Netronix embedded controller

2020-11-30 Thread Jonathan Neuschäfer
-party hardware documentation is available at: https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller The EC supports interrupts, but the driver doesn't make use of them so far. Signed-off-by: Jonathan Neuschäfer --- v5: - no changes v4: - https://lore.kernel.org

[PATCH v5 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-11-30 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output which is used for the backlight on some ebook readers. This patches adds a driver for the PWM output. The .get_state callback is not implemented, because the PWM state can't be read back from the hardware. Signed-off-by: Jonathan Neuschäfer --- v5: -

[PATCH v5 5/7] rtc: New driver for RTC in Netronix embedded controller

2020-11-30 Thread Jonathan Neuschäfer
With this driver, mainline Linux can keep its time and date in sync with the vendor kernel. Advanced functionality like alarm and automatic power-on is not yet supported. Signed-off-by: Jonathan Neuschäfer Acked-by: Alexandre Belloni --- v5: - Add Alexandre Belloni's A-b

[PATCH v5 6/7] MAINTAINERS: Add entry for Netronix embedded controller

2020-11-30 Thread Jonathan Neuschäfer
Let's make sure I'll notice when there are patches for the NTXEC drivers. Signed-off-by: Jonathan Neuschäfer --- v4, v5: - no changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-7-j.neuschae...@gmx.net/ - Remove pwm and rtc bindings v2: - https://lore.kerne

[PATCH v5 7/7] ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

2020-12-01 Thread Jonathan Neuschäfer
RTC alarm and low-battery events Signed-off-by: Jonathan Neuschäfer --- v5: - no changes v4: - Add 'grp' suffix to pinctrl node v3: - https://lore.kernel.org/lkml/20200925050818.2512375-1-j.neuschae...@gmx.net/ - Remove interrupt-controller property from embedded-controller node - s

Re: [PATCH v4 5/7] rtc: New driver for RTC in Netronix embedded controller

2020-11-23 Thread Jonathan Neuschäfer
On Mon, Nov 23, 2020 at 12:10:54AM +0100, Alexandre Belloni wrote: > Hi, > > On 22/11/2020 23:27:37+0100, Jonathan Neuschäfer wrote: > > With this driver, mainline Linux can keep its time and date in sync with > > the vendor kernel. > > > > Advanced functionali

Re: [PATCH v5 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-12-01 Thread Jonathan Neuschäfer
On Tue, Dec 01, 2020 at 08:20:26AM +0100, Uwe Kleine-König wrote: > Hello Jonathan, > > very nice driver, just a few minor comments below. > > On Tue, Dec 01, 2020 at 02:15:10AM +0100, Jonathan Neuschäfer wrote: > > +static struct ntxec_pwm *pwmchip_to_priv(struct pwm_chip *

Re: [PATCH v4 3/7] mfd: Add base driver for Netronix embedded controller

2020-12-02 Thread Jonathan Neuschäfer
On Wed, Dec 02, 2020 at 01:05:20PM +, Lee Jones wrote: > On Sun, 22 Nov 2020, Jonathan Neuschäfer wrote: [...] > > + /* Bail out if we encounter an unknown firmware version */ > > + switch (version) { > > + case 0xd726: /* found in Kobo Aura */ > > No magic nu

Re: [PATCH v4 3/7] mfd: Add base driver for Netronix embedded controller

2020-12-02 Thread Jonathan Neuschäfer
On Wed, Dec 02, 2020 at 03:09:43PM +, Lee Jones wrote: > On Wed, 02 Dec 2020, Jonathan Neuschäfer wrote: > > > On Wed, Dec 02, 2020 at 01:05:20PM +, Lee Jones wrote: > > > On Sun, 22 Nov 2020, Jonathan Neuschäfer wrote: > > [...] > > > > +

[RFC PATCH] docs: Group arch-specific documentation under "CPU Architectures"

2021-03-12 Thread Jonathan Neuschäfer
To declutter the top-level table of contents (the side bar), this patch reduces the architecture-specfic documentation to one top-level item, "CPU Architectures". Signed-off-by: Jonathan Neuschäfer --- As a side effect, the TOC in index.html effectively gets one level of detail less.

Re: [PATCH v2] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-13 Thread Jonathan Neuschäfer
On Wed, Mar 10, 2021 at 09:55:45AM +, Lee Jones wrote: > On Mon, 08 Mar 2021, Andreas Kemnade wrote: [...] > > -static const struct mfd_cell ntxec_subdevices[] = { > > +static const struct mfd_cell ntxec_subdev[] = { > > { .name = "ntxec-rtc" }, > > { .name = "ntxec-pwm" }, > > }; > >

Re: [PATCH v3] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-13 Thread Jonathan Neuschäfer
erspace i2c-set also shows the error. > So add a quirk to ignore that error. > > PWM can be successfully configured despite of that error. > > Signed-off-by: Andreas Kemnade > Reviewed-by: Jonathan Neuschäfer > --- [...] > +static const struct mfd_cell ntxec_subdev_no

[PATCH v3] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-03-13 Thread Jonathan Neuschäfer
The general trend is to have devicetree bindings in YAML format, to allow automatic validation of bindings and devicetrees. Convert the NPCM SoC family's binding to YAML before it accumulates more entries. Signed-off-by: Jonathan Neuschäfer --- If someone else wants to be listed a

Re: [PATCH v2 RESEND 2/2] ARM: dts: Add board-specific compatible string to npcm750-evb devicetree

2021-03-11 Thread Jonathan Neuschäfer
Hi Tomer, your in-line reply got lost in the "> " lines, but I found it anyway. On Thu, Mar 11, 2021 at 04:11:59PM +0200, Tomer Maimon wrote: > Hi Jonathan, > > Thanks a lot for your effort! > > On Thu, 4 Mar 2021 at 17:42, Jonathan Neuschäfer > wrote: >

[PATCH] docs: networking: phy: Improve placement of parenthesis

2021-03-11 Thread Jonathan Neuschäfer
"either" is outside the parentheses, so the matching "or" should be too. Signed-off-by: Jonathan Neuschäfer --- Documentation/networking/phy.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/phy.rst b/Documentation/netw

[PATCH] docs: kvm: Fix a typo ("althought")

2021-03-01 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- Documentation/virt/kvm/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index aed52b0fc16ec..3617a64e81fe2 100644 --- a/Documentation/virt/kvm/api.rst +++ b

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Jonathan Neuschäfer
Hi, (Cc'ing Mark Brown because of the regmap related questions) On Sat, Mar 06, 2021 at 07:13:14PM +0100, Andreas Kemnade wrote: > Add the version of the EC in the Tolino Shine 2 HD > to the supported versions. It seems not to have an RTC > and does not ack data written to it. > The vendor kernel

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Jonathan Neuschäfer
On Sat, Mar 06, 2021 at 08:42:19PM +0100, Andreas Kemnade wrote: > On Sat, 6 Mar 2021 20:14:46 +0100 > Jonathan Neuschäfer wrote: [...] > > > +/* some firmware versions do not ack written data, add a wrapper */ > > > +static const struct regmap_config regmap_config

Re: [PATCH v2] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-08 Thread Jonathan Neuschäfer
®map_config_noack); > + if (IS_ERR(ec->regmap)) > + return PTR_ERR(ec->regmap); In any case, Reviewed-by: Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH RESEND] media: dvbdev: Switch to new kerneldoc syntax for named variable macro argument

2021-01-01 Thread Jonathan Neuschäfer
The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Signed-off-by: Jonathan Neuschäfer --- include/media/dvbdev.h | 2 +- 1 file changed, 1

[PATCH] docs: gpio: Fix formatting in description of gpiod_*_array_* functions

2021-01-01 Thread Jonathan Neuschäfer
The gpiod_*_array_* functions take four arguments, not three. Additionally, the formatting of the "value_bitmap" line results in misformatted HTML, so fix that. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/gpio/consumer.rst | 5 +++-- 1 file changed, 3 insert

[PATCH] docs: gpio: intro: Improve HTML formatting

2021-01-01 Thread Jonathan Neuschäfer
Currently the HTML output for Documentation/driver-api/gpio/intro.rst doesn't look right. The lines that start with LOW or HIGH are formatted in bold, while the next line after each is not bold. With this patch, the HTML looks better. Signed-off-by: Jonathan Neuschäfer --- Documentation/d

[PATCH] docs: binfmt-misc: Fix .rst formatting

2021-01-01 Thread Jonathan Neuschäfer
"name below" is not part of the /proc path and should not be formatted in monospace. "doesn``t" is rendered in HTML with a double backtick. Revert it back to "doesn't". Signed-off-by: Jonathan Neuschäfer --- Documentation/admin-guide/binfmt-misc.rst | 4 ++--

[PATCH] drm/mipi-dbi: Switch to new kerneldoc syntax for named variable macro argument

2021-01-01 Thread Jonathan Neuschäfer
The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments"). The same HTML output is produced with and without this patch. Signed-off-by: Jonathan Neuschäfer --- include/drm/drm_mipi_dbi.h | 2 +- 1 file

[PATCH] scripts/jobserver-exec: Fix a typo ("envirnoment")

2021-01-01 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- scripts/jobserver-exec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobserver-exec b/scripts/jobserver-exec index 0fdb31a790a81..1c779cd1ccb48 100755 --- a/scripts/jobserver-exec +++ b/scripts/jobserver-exec @@ -10,7 +10,7

[PATCH] docs: Include ext4 documentation via filesystems/

2021-01-01 Thread Jonathan Neuschäfer
The documentation for other filesystems is already included via filesystems/index.rst. Include ext4 in the same way and remove it from the top-level table of contents. Signed-off-by: Jonathan Neuschäfer --- Documentation/filesystems/index.rst | 1 + Documentation/index.rst | 11

[PATCH] docs: ALSA: Fix reference to mixart.rst

2021-01-01 Thread Jonathan Neuschäfer
MIXART.txt has been converted to ReST and renamed. Fix the reference in alsa-configuration.rst. Fixes: 3d8e81862ce4 ("ALSA: doc: ReSTize MIXART.txt") Signed-off-by: Jonathan Neuschäfer --- Documentation/sound/alsa-configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v2 2/2] ARM: dts: Add board-specific compatible string to npcm750-evb devicetree

2021-01-15 Thread Jonathan Neuschäfer
According to the revised binding, the devicetree needs a board-specific compatible string. Signed-off-by: Jonathan Neuschäfer --- v2: - no changes --- arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nuvoton-npcm750

[PATCH v2 1/2] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-01-15 Thread Jonathan Neuschäfer
f the binding a little simpler. Signed-off-by: Jonathan Neuschäfer --- If someone else wants to be listed as the maintainer, please let me know. v2: - Fix indentation to satisfy yamllint - Fix $schema line v1: - https://lore.kernel.org/lkml/20210108224008.705687-1-j.neuschae...@gm

[PATCH] ASoC: dt-bindings: mt8192-mt6359: Fix indentation

2021-01-15 Thread Jonathan Neuschäfer
The items of the 'maintainers' list are indented with three spaces. Use the usual two spaces instead, for consistency and to silence yamllint. Signed-off-by: Jonathan Neuschäfer --- .../bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml | 4 ++-- 1 file changed, 2 insert

[PATCH] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix indentation

2021-01-15 Thread Jonathan Neuschäfer
yamllint warns: ./Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml 102:10 error wrong indentation: expected 10 but found 9 (indentation) Signed-off-by: Jonathan Neuschäfer --- .../devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml | 4 ++-- 1 file changed, 2

[PATCH v8 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers

2021-01-16 Thread Jonathan Neuschäfer
devm_rtc_register_device. - Add a #define for the known firmware version (0xd726). Lee Jones suggested doing this in a follow-up patch, but since I'm respinning the series anyway, I'm doing it here. Jonathan Neuschäfer (7): dt-bindings: Add vendor prefix for Netronix, Inc. dt-bindings: mfd: Add b

[PATCH v8 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2021-01-16 Thread Jonathan Neuschäfer
ned-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v4-v8: - No changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-2-j.neuschae...@gmx.net/ - Add Acked-by tag v2: - No changes --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v8 3/7] mfd: Add base driver for Netronix embedded controller

2021-01-16 Thread Jonathan Neuschäfer
-party hardware documentation is available at: https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller The EC supports interrupts, but the driver doesn't make use of them so far. Signed-off-by: Jonathan Neuschäfer Acked-for-MFD-by: Lee Jones --- v8: - Add mi

[PATCH v8 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller

2021-01-16 Thread Jonathan Neuschäfer
. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- v5-v8: - no changes v4: - Add R-b tag v3: - https://lore.kernel.org/lkml/20200924192455.2484005-3-j.neuschae...@gmx.net/ - Remove binding in text form patch description again - Add additionalProperties: false - Remove interrupt

[PATCH v8 7/7] ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

2021-01-16 Thread Jonathan Neuschäfer
RTC alarm and low-battery events Signed-off-by: Jonathan Neuschäfer --- v5-v8: - no changes v4: - https://lore.kernel.org/lkml/20201123000913.1506944-1-j.neuschae...@gmx.net/ - Add 'grp' suffix to pinctrl node v3: - https://lore.kernel.org/lkml/20200925050818.2512375-1-j.neuschae.

[PATCH v8 5/7] rtc: New driver for RTC in Netronix embedded controller

2021-01-16 Thread Jonathan Neuschäfer
With this driver, mainline Linux can keep its time and date in sync with the vendor kernel. Advanced functionality like alarm and automatic power-on is not yet supported. Signed-off-by: Jonathan Neuschäfer Acked-by: Alexandre Belloni --- v8: - Copy dev.of_node from parent device v7: - Adjust

[PATCH v8 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2021-01-16 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output which is used for the backlight on some ebook readers. This patches adds a driver for the PWM output. The .get_state callback is not implemented, because the PWM state can't be read back from the hardware. Signed-off-by: Jonathan Neuschäfer Reviewed-by

[PATCH v8 6/7] MAINTAINERS: Add entry for Netronix embedded controller

2021-01-16 Thread Jonathan Neuschäfer
Let's make sure I'll notice when there are patches for the NTXEC drivers. Signed-off-by: Jonathan Neuschäfer --- v4-v8: - no changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-7-j.neuschae...@gmx.net/ - Remove pwm and rtc bindings v2: - https://lore.kerne

Re: [PATCH v8 3/7] mfd: Add base driver for Netronix embedded controller

2021-01-17 Thread Jonathan Neuschäfer
map_config); >125if (IS_ERR(ec->regmap)) { >126dev_err(ec->dev, "Failed to set up regmap for > device\n"); > > 127return res; >128} Ah well, that's a bug (present sinc

[PATCH v9 0/7] Netronix embedded controller driver for Kobo and Tolino ebook readers

2021-01-24 Thread Jonathan Neuschäfer
Jones suggested doing this in a follow-up patch, but since I'm respinning the series anyway, I'm doing it here. Jonathan Neuschäfer (7): dt-bindings: Add vendor prefix for Netronix, Inc. dt-bindings: mfd: Add binding for Netronix embedded controller mfd: Add base driver for Netronix embe

[PATCH v9 2/7] dt-bindings: mfd: Add binding for Netronix embedded controller

2021-01-24 Thread Jonathan Neuschäfer
. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- v5-v9: - no changes v4: - Add R-b tag v3: - https://lore.kernel.org/lkml/20200924192455.2484005-3-j.neuschae...@gmx.net/ - Remove binding in text form patch description again - Add additionalProperties: false - Remove interrupt

[PATCH v9 3/7] mfd: Add base driver for Netronix embedded controller

2021-01-24 Thread Jonathan Neuschäfer
-party hardware documentation is available at: https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller The EC supports interrupts, but the driver doesn't make use of them so far. Signed-off-by: Jonathan Neuschäfer Acked-for-MFD-by: Lee Jones --- v9: - Fix return

[PATCH v9 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2021-01-24 Thread Jonathan Neuschäfer
ned-off-by: Jonathan Neuschäfer Acked-by: Rob Herring --- v4-v9: - No changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-2-j.neuschae...@gmx.net/ - Add Acked-by tag v2: - No changes --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v9 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2021-01-24 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output which is used for the backlight on some ebook readers. This patches adds a driver for the PWM output. The .get_state callback is not implemented, because the PWM state can't be read back from the hardware. Signed-off-by: Jonathan Neuschäfer Reviewed-by

[PATCH v9 7/7] ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

2021-01-24 Thread Jonathan Neuschäfer
RTC alarm and low-battery events Signed-off-by: Jonathan Neuschäfer --- v5-v9: - no changes v4: - https://lore.kernel.org/lkml/20201123000913.1506944-1-j.neuschae...@gmx.net/ - Add 'grp' suffix to pinctrl node v3: - Remove interrupt-controller property from embedded-controller node - s

[PATCH v9 6/7] MAINTAINERS: Add entry for Netronix embedded controller

2021-01-24 Thread Jonathan Neuschäfer
Let's make sure I'll notice when there are patches for the NTXEC drivers. Signed-off-by: Jonathan Neuschäfer --- v4-v9: - no changes v3: - https://lore.kernel.org/lkml/20200924192455.2484005-7-j.neuschae...@gmx.net/ - Remove pwm and rtc bindings v2: - No changes --- MAINT

[PATCH v9 5/7] rtc: New driver for RTC in Netronix embedded controller

2021-01-24 Thread Jonathan Neuschäfer
With this driver, mainline Linux can keep its time and date in sync with the vendor kernel. Advanced functionality like alarm and automatic power-on is not yet supported. Signed-off-by: Jonathan Neuschäfer Acked-by: Alexandre Belloni --- v9: - no changes v8: - https://lore.kernel.org/lkml

Re: [PATCH] ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller

2021-01-25 Thread Jonathan Neuschäfer
> > Signed-off-by: Andreas Kemnade > --- Reviewed-by: Jonathan Neuschäfer > arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts > b/arch/arm/boot/dt

Re: [PATCH v4 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-11-26 Thread Jonathan Neuschäfer
On Tue, Nov 24, 2020 at 09:20:19AM +0100, Uwe Kleine-König wrote: > Hello, > > On Sun, Nov 22, 2020 at 11:27:36PM +0100, Jonathan Neuschäfer wrote: [...] > > +/* > > + * The time base used in the EC is 8MHz, or 125ns. Period and duty cycle > > are &g

<    1   2   3   4   5   >