[PATCH] docs: driver-api: pti_intel_mid: Enable syntax highlighting for C code block

2019-10-04 Thread Jonathan Neuschäfer
This makes the code snippet more readable. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/pti_intel_mid.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/driver-api/pti_intel_mid.rst b/Documentation/driver-api/pti_intel_mid.rst index

[PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way

2019-10-04 Thread Jonathan Neuschäfer
./include/linux/rculist.h:651: warning: Excess function parameter 'cond' description in 'hlist_for_each_entry_rcu' Signed-off-by: Jonathan Neuschäfer --- include/linux/rculist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/rculist.h b/include/linux/rculi

Re: [PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way

2019-10-04 Thread Jonathan Neuschäfer
On Fri, Oct 04, 2019 at 03:24:39PM -0700, Paul E. McKenney wrote: > On Fri, Oct 04, 2019 at 11:54:02PM +0200, Jonathan Neuschäfer wrote: > > Without this patch, Sphinx shows "variable arguments" as the description > > of the cond argument, rather than the intende

Re: [PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way

2019-10-05 Thread Jonathan Neuschäfer
On Sat, Oct 05, 2019 at 06:33:30AM -0700, Paul E. McKenney wrote: > On Sat, Oct 05, 2019 at 01:23:28AM +0200, Jonathan Neuschäfer wrote: > > On Fri, Oct 04, 2019 at 03:24:39PM -0700, Paul E. McKenney wrote: > > > On Fri, Oct 04, 2019 at 11:54:02PM +0200, Jonathan Neuschäfer wrot

Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-06 Thread Jonathan Neuschäfer
ator-boot-on; > + regulator-state-mem { > + regulator-on-in-suspend; > + regulator-suspend-max-microvolt = > <330>; > + regulator-suspend-min-microvolt = > <330>; > + }; > + }; Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH] net: nps_enet: Fix function names in doc comments

2019-08-10 Thread Jonathan Neuschäfer
Adjust the function names in two doc comments to match the corresponding functions. Signed-off-by: Jonathan Neuschäfer --- drivers/net/ethernet/ezchip/nps_enet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ezchip/nps_enet.h b/drivers/net

Re: [PATCH] dt-bindings: mfd: rn5t618: Document optional property system-power-controller

2019-08-12 Thread Jonathan Neuschäfer
On Mon, Aug 12, 2019 at 07:25:20AM +0100, Lee Jones wrote: > On Thu, 08 Aug 2019, Jonathan Neuschäfer wrote: > > On Fri, Feb 01, 2019 at 09:24:11AM +, Lee Jones wrote: > > > On Tue, 29 Jan 2019, Jonathan Neuschäfer wrote: > > > > Documentation/devicetre

Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-10 Thread Jonathan Neuschäfer
On Thu, Oct 10, 2019 at 07:31:29AM +0200, Andreas Kemnade wrote: > Hi Jonathan, > > On Mon, 7 Oct 2019 00:38:48 +0200 > Jonathan Neuschäfer wrote: > > > Thanks for CCing me on this patchset. Nice to see more e-book reader > > related work! > > > btw. seems

Re: [PATCH v1] media: si2168: Refactor command setup code

2019-07-02 Thread Jonathan Neuschäfer
uld contain information about the private structs of a few (two) drivers. This doesn't seem like a good idea to me. Greetings, Jonathan Neuschäfer signature.asc Description: PGP signature

Re: [PATCH v1] media: si2168: Refactor command setup code

2019-07-03 Thread Jonathan Neuschäfer
Hi again, On Wed, Jul 03, 2019 at 02:47:59PM +0200, Marc Gonzalez wrote: > On 02/07/2019 11:51, Jonathan Neuschäfer wrote: > > On Mon, Jul 01, 2019 at 01:44:09PM +0200, Marc Gonzalez wrote: [...] > >> static const struct dvb_frontend_ops si2168_ops; > >> > >

Re: [PATCH v2] media: si2168: Refactor command setup code

2019-07-04 Thread Jonathan Neuschäfer
tor the command setup code, and let the compiler determine > the size of each command. > > Signed-off-by: Marc Gonzalez Reviewed-by: Jonathan Neuschäfer Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-06-30 Thread Jonathan Neuschäfer
On Tue, Jun 30, 2020 at 08:40:51AM +0200, Andreas Kemnade wrote: [...] > got a chance to test it on a Tolino Shine 2 HD. > It uses the RTC from the RC5T619 but backlight seems to go via MSP430 > EC. > > I got this. > > [1.453603] ntxec 0-0043: Netronix embedded controller version f110 >

Re: [RFC PATCH 06/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-07-03 Thread Jonathan Neuschäfer
On Mon, Jun 22, 2020 at 10:18:02AM +0200, Uwe Kleine-König wrote: > Hello, > > On Sun, Jun 21, 2020 at 12:42:17AM +0200, Jonathan Neuschäfer wrote: > > The Netronix EC provides a PWM output, which is used for the backlight > > s/,// > > > on ebook readers. This pat

Re: [RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC

2020-07-03 Thread Jonathan Neuschäfer
On Fri, Jun 26, 2020 at 11:55:52PM +0200, Andreas Kemnade wrote: > On Sun, 21 Jun 2020 02:02:20 +0200 > Alexandre Belloni wrote: [...] > > Also, do you really need a compatible string to be able to proe the > > driver? What are the chances that you'll get a similar EC without an > > RTC? > > >

Re: [RFC PATCH 08/10] rtc: New driver for RTC in Netronix embedded controller

2020-07-04 Thread Jonathan Neuschäfer
Hi, On Sun, Jun 21, 2020 at 02:11:06AM +0200, Alexandre Belloni wrote: > On 21/06/2020 00:42:19+0200, Jonathan Neuschäfer wrote: > > With this driver, mainline Linux can keep its time and date in sync with > > the vendor kernel. > > > > Advanced functionality lik

Re: [RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-07-04 Thread Jonathan Neuschäfer
On Tue, Jun 30, 2020 at 10:14:47PM +0200, Andreas Kemnade wrote: > On Tue, 30 Jun 2020 09:15:23 +0200 > Jonathan Neuschäfer wrote: > > > On Tue, Jun 30, 2020 at 08:40:51AM +0200, Andreas Kemnade wrote: > > [...] > > > got a chance to test it on a Tolino Shine 2

Re: [RFC PATCH 01/10] DT bindings in plain text format

2020-06-26 Thread Jonathan Neuschäfer
On Mon, Jun 22, 2020 at 11:32:43AM +0100, Lee Jones wrote: > On Sun, 21 Jun 2020, Jonathan Neuschäfer wrote: > > > For reference, here are the devicetree bindings in plaintext format. > > (Not for merge.) > > This would be better placed inside the relevant patch(es), rat

Re: [RFC PATCH 04/10] mfd: Add base driver for Netronix embedded controller

2020-06-28 Thread Jonathan Neuschäfer
On Mon, Jun 22, 2020 at 11:55:44AM +0100, Lee Jones wrote: > On Sun, 21 Jun 2020, Jonathan Neuschäfer wrote: > > Description of the device here please. > > > Third-party hardware documentation is available at > > '\n' > > > https://github.com/neuschaefer/li

Re: [RFC PATCH 04/10] mfd: Add base driver for Netronix embedded controller

2020-06-28 Thread Jonathan Neuschäfer
On Sat, Jun 27, 2020 at 10:17:38AM +0200, Andreas Kemnade wrote: > On Sun, 21 Jun 2020 00:42:15 +0200 > Jonathan Neuschäfer wrote: > > > Third-party hardware documentation is available at > > https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller >

[RFC PATCH 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-06-20 Thread Jonathan Neuschäfer
not sure I got the YAML DT bindings right. I have also included the plain text DT bindings for reference. Jonathan [1]: http://www.netronixinc.com/products.aspx?ID=1 [2]: https://github.com/neuschaefer/linux/wiki/Netronix-MSP430-embedded-controller Jonathan Neuschäfer (10): DT bindings

[RFC PATCH 01/10] DT bindings in plain text format

2020-06-20 Thread Jonathan Neuschäfer
For reference, here are the devicetree bindings in plaintext format. (Not for merge.) Signed-off-by: Jonathan Neuschäfer --- .../bindings/mfd/netronix,ntxec.txt | 58 +++ .../bindings/pwm/netronix,ntxec-pwm.txt | 27 + .../bindings/rtc/netronix,ntxec

[RFC PATCH 06/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-06-20 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output, which is used for the backlight on ebook readers. This patches adds a driver for the PWM output. Signed-off-by: Jonathan Neuschäfer --- drivers/pwm/Kconfig | 4 ++ drivers/pwm/Makefile| 1 + drivers/pwm/pwm-ntxec.c | 148

[RFC PATCH 04/10] mfd: Add base driver for Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
into the i2c subsystem to send the reboot command to the EC. This means that the reboot handler may sleep, which is not allowed. Signed-off-by: Jonathan Neuschäfer --- drivers/mfd/Kconfig | 7 ++ drivers/mfd/Makefile | 1 + drivers/mfd/ntxec.c | 188

[RFC PATCH 02/10] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-06-20 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 9aeab66be85fc..516c6b6668

[RFC PATCH 08/10] rtc: New driver for RTC in Netronix embedded controller

2020-06-20 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 --- drivers/rtc/Kconfig | 4 ++ drivers/rtc/Makefile| 1 + drivers/rtc/rtc

[RFC PATCH 05/10] dt-bindings: pwm: Add bindings for PWM function in Netronix EC

2020-06-20 Thread Jonathan Neuschäfer
-by: Jonathan Neuschäfer --- .../bindings/mfd/netronix,ntxec.yaml | 13 .../bindings/pwm/netronix,ntxec-pwm.yaml | 33 +++ 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/netronix,ntxec-pwm.yaml diff --git

[RFC PATCH 09/10] MAINTAINERS: Add entry for Netronix embedded controller

2020-06-20 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 --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 68f21d46614c4..d4333f7490f5d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[RFC PATCH 07/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC

2020-06-20 Thread Jonathan Neuschäfer
ema: http://devicetree.org/meta-schemas/core.yaml# + +title: RTC functionality in Netronix embedded controller + +maintainers: + - Jonathan Neuschäfer + +description: | + See also Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml + + The Netronix EC contains an RTC, which can be us

[RFC PATCH 03/10] dt-bindings: mfd: Add binding for Netronix's embedded controller

2020-06-20 Thread Jonathan Neuschäfer
. Signed-off-by: Jonathan Neuschäfer --- .../bindings/mfd/netronix,ntxec.yaml | 57 +++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml diff --git a/Documentation/devicetree/bindings/mfd/netronix,ntxec.yaml b

[RFC PATCH 10/10] ARM: dts: imx50-kobo-aura: Add Netronix embedded controller

2020-06-20 Thread Jonathan Neuschäfer
for RTC alarm and low-battery events Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50-kobo-aura.dts | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx50-kobo-aura.dts b/arch/arm/boot/dts/imx50-kobo-aura.dts index

Re: [RFC PATCH 02/10] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-06-20 Thread Jonathan Neuschäfer
On Sun, Jun 21, 2020 at 12:42:13AM +0200, Jonathan Neuschäfer wrote: > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ Oops, it seems the mail thread got split here when I resent patches 2-10 after an error. Oh well. signature.asc Description: PGP signature

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-06-22 Thread Jonathan Neuschäfer
ine. This is (somewhat lengthily) explained here: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#the-canonical-patch-format Best regards, Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH] dt-bindings: mfd: rn5t618: Document optional property system-power-controller

2019-01-29 Thread Jonathan Neuschäfer
The RN5T618 family of PMICs can be used as system management controllers, in which case they handle poweroff and restart. Document this capability by referring to the corresponding generic DT binding. Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 5

[PATCH] tools/virtio/ringtest: Remove bogus definition of BUG_ON()

2019-01-29 Thread Jonathan Neuschäfer
BUG_ON(x) should raise an error if x is true, but assert(x) raises an error if x is false. Remove this bogus definition of BUG_ON(), which isn't used anyway. Signed-off-by: Jonathan Neuschäfer --- tools/virtio/ringtest/ptr_ring.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/virtio

[PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Jonathan Neuschäfer
-electrons-becomes-bootlin/ [2]: https://github.com/free-electrons/elixir Signed-off-by: Jonathan Neuschäfer --- Documentation/input/devices/xpad.rst | 2 +- Documentation/process/howto.rst| 2 +- Documentation/process/kernel-docs.rst | 2 +- Documentation

Re: [PATCH 1/2] gpio: hlwd: Add basic IRQ support

2019-01-14 Thread Jonathan Neuschäfer
Hi, On Mon, Jan 14, 2019 at 11:20:49AM +0100, Linus Walleij wrote: > Hi Jonathan, > > thanks for the patch! It is looking very good. > Some minor comments: > > On Sun, Jan 13, 2019 at 3:00 PM Jonathan Neuschäfer [...] > > + spin_lock_irqsave(>gpioc.bgpio_lock,

[PATCH v2 1/2] gpio: hlwd: Add basic IRQ support

2019-01-14 Thread Jonathan Neuschäfer
This patch implements level-triggered IRQs in the Hollywood GPIO driver. Edge triggered interrupts are not supported in this GPIO controller, so I moved their emulation into a separate patch. Signed-off-by: Jonathan Neuschäfer --- v2: - Changed register addresses to io{read,write}32be() instead

[PATCH v2 0/2] GPIO: hlwd: Implement IRQ support

2019-01-14 Thread Jonathan Neuschäfer
with two device tree patches[1], I can use the buttons (via the gpio-keys driver) and the photoelectric sensor in the disc slot (via gpio-event-mon). [1]: https://www.spinics.net/lists/kernel/msg3010459.html Jonathan Neuschäfer (2): gpio: hlwd: Add basic IRQ support gpio: hlwd: Implement edge trigger

[PATCH v2 2/2] gpio: hlwd: Implement edge trigger emulation

2019-01-14 Thread Jonathan Neuschäfer
Like the Spreadtrum EIC driver[1], this driver needs to emulate edge triggered interrupts to support the generic gpio-keys driver. [1]: https://www.spinics.net/lists/kernel/msg2764576.html Signed-off-by: Jonathan Neuschäfer --- v2: - Changed register addresses to io{read,write}32be() instead

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-14 Thread Jonathan Neuschäfer
On Mon, Jan 14, 2019 at 07:23:07PM +0100, Christophe Leroy wrote: > > > Le 13/01/2019 à 22:02, Jonathan Neuschäfer a écrit : > > On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: > > > Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : > > >

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-15 Thread Jonathan Neuschäfer
On Tue, Jan 15, 2019 at 07:51:01AM +0100, Christophe Leroy wrote: > Le 15/01/2019 à 01:33, Jonathan Neuschäfer a écrit : [...] > > I've checked it patch-by-patch now (with STRICT_KERNEL_RWX): > > > > - patches 1 and 2 build and boot fine > > - patches 3 t

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-16 Thread Jonathan Neuschäfer
On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: > Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : > > Thinning the kernel down a bit actually makes it boot again. Ooops...! > > Maybe enabling CONFIG_STRICT_KERNEL_RWX has made it just large enough to > >

Re: [PATCH] dt-bindings: pinctrl: Document the i.MX50 IOMUXC binding

2019-02-08 Thread Jonathan Neuschäfer
On Fri, Feb 08, 2019 at 09:57:04AM -0200, Fabio Estevam wrote: > Hi Jonathan, > > On Tue, Jan 29, 2019 at 2:55 PM Jonathan Neuschäfer > wrote: > > > > AFAICS from the i.MX50 Reference Manual, the i.MX50 IOMUXC works the > > same as the one in i.MX51, so I copied fsl

Re: sdhci-esdhc-imx/v5.0-rc5: i.MX50 system hangs when "per" clock is disabled

2019-02-09 Thread Jonathan Neuschäfer
On Thu, Feb 07, 2019 at 10:50:28PM -0200, Fabio Estevam wrote: > On Thu, Feb 7, 2019 at 8:52 PM Jonathan Neuschäfer [...] > > I tried to compare the CCM's clocks between i.MX50 and i.MX53, but > > unfortunately, the i.MX50 reference manual doesn't have the table called > > &q

[PATCH] spi: gpio: Advertise support for SPI_CS_HIGH

2019-02-10 Thread Jonathan Neuschäfer
The spi-gpio driver already handles different chip select polarities, but so far this was not advertised in master->mode_bits. This patch fixes mmc_spi on top of spi_gpio, which is useful in some testing scenarios. Signed-off-by: Jonathan Neuschäfer --- drivers/spi/spi-gpio.c | 3 ++- 1 f

[PATCH] docs: process: Remove outdated info about -git patches

2019-02-10 Thread Jonathan Neuschäfer
As can be seen by clicking around the timeline on web.archive.org[1], there were no -git patches/tarballs on kernel.org since release 3.1. [1]: https://web.archive.org/web/2003073843/http://www.kernel.org/ Signed-off-by: Jonathan Neuschäfer --- Documentation/process/howto.rst | 9

[PATCH] mmc: spi: Fix card detection during probe

2019-02-10 Thread Jonathan Neuschäfer
x->cd_gpio not set) mmc_gpiod_request_cd ctx->cd_gpio = desc To fix this issue, call mmc_detect_change after the card-detect GPIO/IRQ is registered. Signed-off-by: Jonathan Neuschäfer --- drivers/mmc/host/mmc_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host

Re: sdhci-esdhc-imx/v5.0-rc5: i.MX50 system hangs when "per" clock is disabled

2019-02-10 Thread Jonathan Neuschäfer
On Thu, Feb 07, 2019 at 11:52:11PM +0100, Jonathan Neuschäfer wrote: > However, as soon as the mmc driver (sdhci-esdhc-imx.c) disables clk_per > in sdhci_esdhc_runtime_suspend[2], the whole system locks up in some way. I've traced clk prepare/unprepare/enable/disable calls and got this

Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX

2019-01-16 Thread Jonathan Neuschäfer
On Wed, Jan 16, 2019 at 02:34:53PM +0100, Christophe Leroy wrote: > Le 16/01/2019 à 14:16, Jonathan Neuschäfer a écrit : > > On Wed, Jan 16, 2019 at 07:55:29AM +0100, Christophe Leroy wrote: > > > Le 16/01/2019 à 01:35, Jonathan Neuschäfer a écrit : > > > > Thinning

Re: [RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-16 Thread Jonathan Neuschäfer
ble because the delta and size calculations stay in one visual block. It doesn't need to happen after delta is calculated. tentatively, Reviewed-by: Jonathan Neuschäfer Thanks, Jonathan signature.asc Description: PGP signature

Re: [RESENDING PATCH] powerpc/wii: properly disable use of BATs when requested.

2019-01-17 Thread Jonathan Neuschäfer
On Thu, Jan 17, 2019 at 11:29:06AM +0100, Christophe Leroy wrote: [...] > > > /* MEM2 64MB@0x1000 */ > > > delta = wii_hole_start + wii_hole_size; > > > + if (__map_without_bats) > > > + return delta; > > > + > > > > Nothing is visibly broken without this patch,

[PATCH] net: Fix typo in NET_FAILOVER help text

2019-01-17 Thread Jonathan Neuschäfer
"also enables" should not be spelled as one word. Fixes: cfc80d9a1163 ("net: Introduce net_failover driver") Signed-off-by: Jonathan Neuschäfer --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drive

[PATCH] ARM: dts: omap3-gta04a5: Replace LXR reference with a local one

2019-01-29 Thread Jonathan Neuschäfer
There's no need to use an external link when the file is already here. Signed-off-by: Jonathan Neuschäfer --- Alternatively, I could change the link to https://elixir.bootlin.com (the successor of lxr.free-electrons.com), but this solution seemed simpler. --- arch/arm/boot/dts/omap3-gta04a5

[PATCH] init/Kconfig: Fix grammar by moving a closing parenthesis

2019-01-29 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 513fa544a134..35414d97 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -825,7 +825,7 @@ config CGROUP_PIDS PIDs controller

Re: [PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Jonathan Neuschäfer
ad_device Oops. Indeed, it doesn't work with the old syntax. I'll fix this in v2. > other than that, good. Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH] dt-bindings: pinctrl: Document the i.MX50 IOMUXC binding

2019-01-29 Thread Jonathan Neuschäfer
AFAICS from the i.MX50 Reference Manual, the i.MX50 IOMUXC works the same as the one in i.MX51, so I copied fsl,imx51-pinctrl.txt and changed the text to imx50. Signed-off-by: Jonathan Neuschäfer Cc: Dong Aisheng Cc: Shawn Guo --- .../bindings/pinctrl/fsl,imx50-pinctrl.txt| 32

[PATCH v2] doc: Change LXR references to elixir.bootlin.com

2019-01-30 Thread Jonathan Neuschäfer
-electrons-becomes-bootlin/ [2]: https://github.com/free-electrons/elixir Signed-off-by: Jonathan Neuschäfer --- v2: - Fix ident search URL, as suggested by Martin Kepplinger - Add trailing slash, which I accidentally dropped in v1 in Documentation/translations/it_IT/process/howto.rst v1: https

sdhci-esdhc-imx/v5.0-rc5: i.MX50 system hangs when "per" clock is disabled

2019-02-07 Thread Jonathan Neuschäfer
and i.MX53, but unfortunately, the i.MX50 reference manual doesn't have the table called "Output clocks from CCM". Does anyone have any ideas or patches that I could try in order to narrow the problem further down? Thanks, Jonathan Neuschäfer [1]: https://gist.github.com/neuschaefer/27cacf0acf54112

[PATCH] genirq: Fix editing error in a comment

2018-06-17 Thread Jonathan Neuschäfer
When the comment was reflowed to a wider format, the "*" snuck in. Fixes: ae88a23b32fa ("irq: refactor and clean up the free_irq() code flow") Signed-off-by: Jonathan Neuschäfer --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k

Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram()

2018-12-16 Thread Jonathan Neuschäfer
h.h, - 0x591 = _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | _PAGE_PRESENT - 0x311 = _PAGE_EXEC | _PAGE_ACCESSED | _PAGE_COHERENT | _PAGE_PRESENT - 0x791 = _PAGE_RW | _PAGE_EXEC | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_COHERENT | _PAGE_PRESENT Changing the flags back to 0x591 in setbat doe

Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram()

2018-12-17 Thread Jonathan Neuschäfer
On Mon, Dec 17, 2018 at 10:29:18AM +0100, Christophe Leroy wrote: > > With patches 1-3: > > [0.00] setbat(0, c000, , 0100, 311) > > [0.00] setbat(2, c100, 0100, 0080, 311) > > [0.00] setbat(4, d000, 1000, 0200, 791) > > What we see

Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram()

2018-12-18 Thread Jonathan Neuschäfer
On Tue, Dec 18, 2018 at 09:18:42AM +, Christophe Leroy wrote: > The only difference I see then are the flags. Everything else is seems > identical. > > I know you tried already, but would you mind trying once more with the > following change ? > [...] > - setbat(idx, PAGE_OFFSET

Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram()

2018-12-18 Thread Jonathan Neuschäfer
On Tue, Dec 18, 2018 at 04:04:42PM +0100, Christophe Leroy wrote: > Stupid of me. In fact at the time being, BATS cover both RO and RW data > areas, so it can definitly not be mapped with PAGE_KERNEL_ROX. > > In fact, as I have CONFIG_BDI_SWITCH in my setup, PAGE_KERNEL_TEXT is > PAGE_KERNEL_X on

[PATCH] dt-bindings: pinctrl: Fix spelling of bias-pull-up

2019-04-28 Thread Jonathan Neuschäfer
The property is spelled 'bias-pull-up', as documented in pinctrl-bindings.txt. Signed-off-by: Jonathan Neuschäfer --- .../devicetree/bindings/pinctrl/qcom,apq8064-pinctrl.txt| 2 +- .../devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt| 2 +- .../devicetree/bindings/pinctrl

[PATCH] firmware_loader: Fix a typo ("syfs" -> "sysfs")

2019-04-30 Thread Jonathan Neuschäfer
"sysfs" was misspelled in a comment and a log message. Signed-off-by: Jonathan Neuschäfer --- drivers/base/firmware_loader/fallback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/firmware_loader/fallback.c b/drivers/base/firmware_loader/

[PATCH] mfd: ab8500-debugfs: Fix a typo ("deubgfs")

2019-04-30 Thread Jonathan Neuschäfer
"debugfs" was misspelled. Signed-off-by: Jonathan Neuschäfer --- drivers/mfd/ab8500-debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index 8d652b2f9d14..f70d3f6a959b 100644 --- a/drivers/

Re: [PATCH] dt-bindings: pinctrl: Fix spelling of bias-pull-up

2019-05-16 Thread Jonathan Neuschäfer
On Thu, May 16, 2019 at 02:44:30PM +0200, Linus Walleij wrote: > On Sun, Apr 28, 2019 at 5:08 PM Jonathan Neuschäfer > wrote: > > > The property is spelled 'bias-pull-up', as documented in > > pinctrl-bindings.txt. > > > > Signed-off-by: Jonathan Neuschäfer

[PATCH RESEND] tools/virtio/ringtest: Remove bogus definition of BUG_ON()

2019-03-18 Thread Jonathan Neuschäfer
BUG_ON(x) should raise an error if x is true, but assert(x) raises an error if x is false. Remove this bogus definition of BUG_ON(), which isn't used anyway. Signed-off-by: Jonathan Neuschäfer --- Previous copy of v1: https://lore.kernel.org/lkml/20190129140443.31161-1-j.neuschae...@gmx.net

[PATCH RESEND] clk: imx5: Fix i.MX50 clock registers

2019-03-18 Thread Jonathan Neuschäfer
a MUX between pll1_sw, pll2_sw, pll3_sw, and lp_apm. - The MUX bits for esdhc_{a,c,d}_sel are shifted by one bit within CSCMR1. Signed-off-by: Jonathan Neuschäfer --- I'd appreciate some testing from owners of i.MX51 or i.MX53 based boards to ensure that I didn't break the driver for these SoCs

Re: [PATCH RESEND] clk: imx5: Fix i.MX50 clock registers

2019-03-19 Thread Jonathan Neuschäfer
On Tue, Mar 19, 2019 at 02:16:51PM +, Aisheng Dong wrote: > > From: Jonathan Neuschäfer [mailto:j.neuschae...@gmx.net] > > > > There are a few differences between the i.MX50 clock tree and those of > > i.MX51 and i.MX53 that are not yet handled in clk-imx51-imx53.c

[PATCH 0/5] ARM: Initial devicetree for Kobo Aura

2019-03-19 Thread Jonathan Neuschäfer
is enabled, the following fix is also required: https://lore.kernel.org/lkml/20190318231737.8459-1-j.neuschae...@gmx.net/ My own notes about this machine can be found here: https://github.com/neuschaefer/linux/wiki/Kobo-Aura Jonathan Neuschäfer (5): dt-bindings: Add vendor prefix for Rakuten Kobo, Inc

[PATCH 3/5] ARM: dts: imx50: Add PHY node for usbotg and adjust clocks

2019-03-19 Thread Jonathan Neuschäfer
. [1]: Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt [2]: Search for EINVAL in drivers/usb/chipidea/ci_hdrc_imx.c Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx50

[PATCH 2/5] ARM: dts: imx50: Add Kobo Aura DTS

2019-03-19 Thread Jonathan Neuschäfer
50MHz, which works reliably on this board and gives slightly better performance. - The I2C pins' IOMUXC settings come from the vendor's U-Boot fork. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/Makefile| 3 +- arch/arm/boot/dts/imx50-kobo-aura.dts | 245

[PATCH 4/5] ARM: dts: imx50-kobo-aura: Enable USB support

2019-03-19 Thread Jonathan Neuschäfer
Enable the USBOTG controller in device mode, and also enable the corresponding PHY. The presence of Vbus is detected via a GPIO. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50-kobo-aura.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 5/5] ARM: dts: imx50: Fix the numbering of the I2C controllers

2019-03-19 Thread Jonathan Neuschäfer
Ensure that the i2c buses are reported to userspace (for example to i2cdetect) in the same order as they are numbered in the SoC's documentation by adding aliases to the devicetree. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50.dtsi | 3 +++ 1 file changed, 3 insertions

[PATCH 1/5] dt-bindings: Add vendor prefix for Rakuten Kobo, Inc.

2019-03-19 Thread Jonathan Neuschäfer
Rakuten Kobo, Inc. (formerly Kobo, Inc.) is a company that sells e-book readers and related products. More information is available at: - https://en.wikipedia.org/wiki/Kobo_Inc. - https://www.kobo.com/ Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH 2/5] ARM: dts: imx50: Add Kobo Aura DTS

2019-03-26 Thread Jonathan Neuschäfer
Hi, thanks for your comments. I'll address them in v2. On Fri, Mar 22, 2019 at 09:31:53AM +0800, Shawn Guo wrote: > On Tue, Mar 19, 2019 at 04:24:17PM +0100, Jonathan Neuschäfer wrote: > > The Kobo Aura is an e-book reader released in 2013. [...] > > + sd2

[PATCH v2 2/2] clk: imx5: Fix i.MX50 ESDHC clock registers

2019-03-26 Thread Jonathan Neuschäfer
The MUX bits for esdhc_{a,c,d}_sel are shifted by one bit within CSCMR1, because esdhc_b_sel (ESDHC3_CLK_SEL in the Reference Manual) is extended by one bit. Signed-off-by: Jonathan Neuschäfer --- v2: - Split into two patches, as suggested by Aisheng Dong - Extended the commit message slightly

[PATCH v2 1/2] clk: imx5: Fix i.MX50 mainbus clock registers

2019-03-26 Thread Jonathan Neuschäfer
i.MX50 does not have a periph_apm clock. Instead, the main bus clock (a.k.a. periph_clk) comes directly from a MUX between pll1_sw, pll2_sw, pll3_sw, and lp_apm. Signed-off-by: Jonathan Neuschäfer --- v2: - Split into two patches, as suggested by Aisheng Dong v1: https://lore.kernel.org/lkml

[PATCH v2 0/2] clk: imx5: Fix i.MX50 clock registers

2019-03-26 Thread Jonathan Neuschäfer
There are a few differences between the i.MX50 clock tree and those of i.MX51 and i.MX53 that are not yet handled in clk-imx51-imx53.c. This series handles two of them. Jonathan Neuschäfer (2): clk: imx5: Fix i.MX50 mainbus clock registers clk: imx5: Fix i.MX50 ESDHC clock registers v2

Re: [PATCH 21/21] docs: hwmon: Add an index file and rename docs to *.rst

2019-04-10 Thread Jonathan Neuschäfer
nfig and Makefile in alphabetical order. Thanks, Jonathan Neuschäfer signature.asc Description: PGP signature

[PATCH] mtd: rawnand: Fix sphinx syntax

2019-03-21 Thread Jonathan Neuschäfer
-by: Jonathan Neuschäfer --- include/linux/mtd/rawnand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index b7445a44a814..27c2db8e4a1f 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h

[PATCH v2 1/3] dt-bindings: Add vendor prefix for Rakuten Kobo, Inc.

2019-03-31 Thread Jonathan Neuschäfer
Rakuten Kobo, Inc. (formerly Kobo, Inc.) is a company that sells e-book readers and related products. More information is available at: - https://en.wikipedia.org/wiki/Kobo_Inc. - https://www.kobo.com/ Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- v2: - Add Rob Herring's R-b

[PATCH v2 0/3] ARM: Initial devicetree for Kobo Aura

2019-03-31 Thread Jonathan Neuschäfer
tes about this machine can be found here: https://github.com/neuschaefer/linux/wiki/Kobo-Aura Jonathan Neuschäfer (3): dt-bindings: Add vendor prefix for Rakuten Kobo, Inc. dt-bindings: arm: fsl: Add i.MX50 based boards ARM: dts: imx50: Add Kobo Aura DTS .../devicetree/bindings/a

[PATCH v2 2/3] dt-bindings: arm: fsl: Add i.MX50 based boards

2019-03-31 Thread Jonathan Neuschäfer
fsl,imx50-evk has been used in a devicetree for a while. kobo,aura will be used soon. Signed-off-by: Jonathan Neuschäfer --- v2: New patch, as suggested by Shawn Guo --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation

[PATCH v2 3/3] ARM: dts: imx50: Add Kobo Aura DTS

2019-03-31 Thread Jonathan Neuschäfer
50MHz, which works reliably on this board and gives slightly better performance. - The I2C pins' IOMUXC settings come from the vendor's U-Boot fork. Signed-off-by: Jonathan Neuschäfer --- v2: - Squash patch 4 ("ARM: dts: imx50-kobo-aura: Enable USB support") - Sort pinctrl nodes alph

[PATCH] clk: imx5: Fix i.MX50 clock registers

2019-02-11 Thread Jonathan Neuschäfer
a MUX between pll1_sw, pll2_sw, pll3_sw, and lp_apm. - The MUX bits for esdhc_{a,c,d}_sel are shifted by one bit within CSCMR1. Signed-off-by: Jonathan Neuschäfer --- Because I'm touching a critical driver that's shared between all i.MX5 SoC's, I'd prefer to get a confirmation from someone

[PATCH] div64.h: Fix description of do_div parameter

2019-02-25 Thread Jonathan Neuschäfer
Contrary to the description, the first parameter (n) should not be passed as a pointer, but directly as an lvalue. This is possible because do_div is a macro. Signed-off-by: Jonathan Neuschäfer --- include/asm-generic/div64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH] div64.h: Fix description of do_div parameter

2019-02-25 Thread Jonathan Neuschäfer
On Mon, Feb 25, 2019 at 04:19:02PM +0100, Geert Uytterhoeven wrote: > Hi Jonathan, > > On Mon, Feb 25, 2019 at 3:05 PM Jonathan Neuschäfer > wrote: > > Contrary to the description, the first parameter (n) should not be > > passed as a pointer, but directly as an lvalue.

Re: [PATCH] mmc: spi: Fix card detection during probe

2019-02-26 Thread Jonathan Neuschäfer
On Tue, Feb 26, 2019 at 09:18:06AM +0100, Ulf Hansson wrote: > On Sun, 10 Feb 2019 at 18:31, Jonathan Neuschäfer > wrote: > > > > When using the mmc_spi driver with a card-detect pin, I noticed that the > > card was not detected immediately after probe, but only af

[PATCH] kernel/sys.c: Fix UNAME26 for 5.0

2019-01-07 Thread Jonathan Neuschäfer
UNAME26 is a mechanism to report Linux's version as 2.6.x, for compatibility with old/broken software. Because of the way it is implemented, it needs to be adjusted to handle version 5.0. Signed-off-by: Jonathan Neuschäfer --- kernel/sys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

Re: [PATCH] kernel/sys.c: Fix UNAME26 for 5.0

2019-01-07 Thread Jonathan Neuschäfer
On Mon, Jan 07, 2019 at 10:10:31AM -0800, Linus Torvalds wrote: > On Mon, Jan 7, 2019 at 10:03 AM Jonathan Neuschäfer > wrote: > > > > UNAME26 is a mechanism to report Linux's version as 2.6.x, for > > compatibility with old/broken software. Because of the way it is &

[PATCH 0/2] powerpc: wii.dts: GPIO interrupt and button support

2019-01-12 Thread Jonathan Neuschäfer
This patchset adds the necessary bits to wii.dts to enable interrupt support in the GPIO controller, and defines two GPIO-based buttons, the POWER button and the EJECT button. I will send another patchset which will implement interrupt support in the GPIO driver (gpio-hlwd.c). Jonathan

[PATCH 2/2] powerpc: wii.dts: Add GPIO keys

2019-01-12 Thread Jonathan Neuschäfer
The Wii has POWER and EJECT buttons, which are connected through normalization logic to the GPIO controller (the length of an assertion of these signals is always the same, regardless of how long the user pressed the buttons). Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/boot/dts/wii.dts

[PATCH 1/2] powerpc: wii.dts: Add interrupt-related properties to GPIO node

2019-01-12 Thread Jonathan Neuschäfer
The Hollywood GPIO controller is connected to the Hollywood PIC () at IRQs 10 and 11; IRQ 10 for GPIO lines that are configured for access by the PPC, 11 for GPIO lines that are configured for access by the ARM926. Signed-off-by: Jonathan Neuschäfer --- arch/powerpc/boot/dts/wii.dts | 5

[PATCH v2] kernel/sys.c: Clarify that UNAME26 does not generate unique versions anymore

2019-01-12 Thread Jonathan Neuschäfer
n it? > > The only thing that matters is that it shows "2.4.", > which it will do regardless. Cc: Linus Torvalds Signed-off-by: Jonathan Neuschäfer --- v2: - Switched to documenting why UNAME26 is not updated v1: - https://lore.kernel.org/patchwork/patch/1029578/ --- kernel/sys.c

[PATCH] m68k/apollo: Fix comment in Makefile

2019-01-12 Thread Jonathan Neuschäfer
This comment has been wrong since before git. Signed-off-by: Jonathan Neuschäfer --- arch/m68k/apollo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/apollo/Makefile b/arch/m68k/apollo/Makefile index 76a057962c38..01856a858fda 100644 --- a/arch/m68k/apollo

[PATCH 0/2] GPIO: hlwd: Implement IRQ support

2019-01-13 Thread Jonathan Neuschäfer
). [1]: https://www.spinics.net/lists/kernel/msg3010459.html Jonathan Neuschäfer (2): gpio: hlwd: Add basic IRQ support gpio: hlwd: Implement edge trigger emulation drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-hlwd.c | 193 ++- 2 files changed, 193

[PATCH 2/2] gpio: hlwd: Implement edge trigger emulation

2019-01-13 Thread Jonathan Neuschäfer
Like the Spreadtrum EIC driver[1], this driver needs to emulate edge triggered interrupts to support the generic gpio-keys driver. [1]: https://www.spinics.net/lists/kernel/msg2764576.html Signed-off-by: Jonathan Neuschäfer --- drivers/gpio/gpio-hlwd.c | 57

[PATCH 1/2] gpio: hlwd: Add basic IRQ support

2019-01-13 Thread Jonathan Neuschäfer
This patch implements level-triggered IRQs in the Hollywood GPIO driver. Edge triggered interrupts are not supported in this GPIO controller, so I moved their emulation into a separate patch. Signed-off-by: Jonathan Neuschäfer --- I'm not entirely sure about the locking, but lockdep doesn't

<    1   2   3   4   5   6   7   >