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
./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
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
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
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
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
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
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
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
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;
> >>
> >
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
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
>
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
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?
> >
>
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
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
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
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
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
>
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
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
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
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
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
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
-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
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
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
.
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
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
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
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
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
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
-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
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,
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
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
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
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 :
> > >
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
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
> >
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
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
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
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
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
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
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
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
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,
"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
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
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
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
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
-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
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
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
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
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
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
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
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
"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/
"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/
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
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
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
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
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
.
[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
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
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
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
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
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
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
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
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
nfig and Makefile in alphabetical order.
Thanks,
Jonathan Neuschäfer
signature.asc
Description: PGP signature
-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
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
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
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
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
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
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
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.
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
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
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
&
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
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
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
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
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
).
[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
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
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
401 - 500 of 622 matches
Mail list logo