On Fri, Dec 28, 2012 at 11:49:53AM -0800, Eric W. Biederman wrote:
> Al Viro writes:
>
> > On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote:
> >> But then I am probably peculiar keeping an index of the source code in
> >> my head. When I need to look for something and I don't kn
On Tue, Jan 23, 2018 at 11:58:06PM +1100, Michael Ellerman wrote:
> Jonathan Neuschäfer writes:
>
> > On the Nintendo Wii, there are two ranges of physical memory, and MMIO
> > in between, but Linux on ppc32 doesn't support discontiguous memory.
> > Therefore a
It's unneccessary to point to an external mirror of the Documentation
directory. Also, drop the date field, because in-kernel documentation is
continually updated.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/process/kernel-docs.rst | 23 +++
1 file change
Without this patch, Sphinx renders the sentence as follows, thus hiding
the backslashes:
[...] end each string except the last with nt to
properly indent the next instruction [...]
Signed-off-by: Jonathan Neuschäfer
---
Documentation/process/coding-style.rst | 2 +-
1 file
ake
sense anymore, because the "Abstract:" is clearly separated.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/process/kernel-docs.rst | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/process/kernel-docs.rst
b/Documentation/process/kerne
The old URLs redirect to the new ones, so just update them in mono.rst.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/admin-guide/mono.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/admin-guide/mono.rst
b/Documentation/admin-guide/mono.rst
The mailing list archives[1,2] show no activity since September 2011.
[1]: https://lists.linuxfoundation.org/pipermail/bugme-new/
[2]: https://lists.linuxfoundation.org/pipermail/bugme-janitors/
Signed-off-by: Jonathan Neuschäfer
---
Documentation/process/howto.rst | 8
1 file changed
Since the 3.2 cycle, there were no -git patches/tarballs on kernel.org.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/process/applying-patches.rst | 40 +-
Documentation/process/howto.rst| 9 ---
2 files changed, 1 insertion(+), 48 deletions
Hi,
On Sun, Jan 28, 2018 at 07:31:58PM +0200, Andy Shevchenko wrote:
> On Mon, Jan 22, 2018 at 7:04 AM, Jonathan Neuschäfer
> wrote:
>
> Style issues below.
>
> > +#define HW_GPIO_OWNER 0x3c
> > +
> > +
> > +struct hlwd_gpio {
>
On Fri, Jan 19, 2018 at 05:05:21PM -0600, Rob Herring wrote:
> On Mon, Jan 15, 2018 at 04:13:59AM +0100, Jonathan Neuschäfer wrote:
> > Signed-off-by: Jonathan Neuschäfer
> > ---
> > .../bindings/gpio/nintendo,hollywood-gpio.txt | 27
> > ++
&
river.
I think the Wii can be switched to the generic gpio-poweroff driver,
after the GPIO driver is merged.
Signed-off-by: Jonathan Neuschäfer
---
v2:
- no change
---
arch/powerpc/platforms/embedded6xx/wii.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/platforms/embedd
erent subsystems (GPIO, DT, core
resource management), I guess it should be picked up patch-by-patch by
the different maintainers.
The main difference between v2 and the previous version is that I
rewrote the driver on top of the GPIO_GENERIC library, saving 60 lines
of code.
Jonathan Neuschäf
The Nintendo Wii game console has a GPIO controller, which is used for
the optical disk slot LED, buttons, poweroff, etc. This patch adds a
binding for this GPIO controller.
Signed-off-by: Jonathan Neuschäfer
Reviewed-by: Rob Herring
---
v2:
- Drop the leading zero in the example, as suggested
aResero/GC-Wii-Linux-Kernels, but
has grown quite dissimilar.
Signed-off-by: Jonathan Neuschäfer
Cc: Albert Herranz
Cc: Segher Boessenkool
---
v2:
- Change hlwd_gpio_driver.driver.name to "gpio-hlwd" to match the
filename (was "hlwd_gpio")
- Remove unnecessary include o
ed memory.
This hack, however, doesn't account for the "resource"-based API in
kernel/resource.c, because __request_region performs its own checks.
Extend the hack to kernel/resource.c, to allow more drivers to allocate
their MMIO regions on the Wii.
Signed-off-by: Jonathan Neuschä
The Hollywood GPIO controller supports 32 GPIOs, but on the Wii, only 24
are used.
Signed-off-by: Jonathan Neuschäfer
---
v2:
- no change
---
arch/powerpc/boot/dts/wii.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts
index
These are the GPIO line names on a Nintendo Wii, as documented in:
https://wiibrew.org/wiki/Hardware/Hollywood_GPIOs
Signed-off-by: Jonathan Neuschäfer
---
v2:
- no change
---
arch/powerpc/boot/dts/wii.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/powerpc/boot/dts
On Wed, Jan 24, 2018 at 12:23:05PM +1100, Michael Ellerman wrote:
> Jonathan Neuschäfer writes:
[...]
> > Do you have any pointer on how to implement discontiguous memory
> > support? CONFIG_ARCH_SPARSEMEM_ENABLE seems relevant.
>
> I'm not really sure what the key i
On Tue, Jan 16, 2018 at 10:42:54AM +0100, Linus Walleij wrote:
> On Mon, Jan 15, 2018 at 4:13 AM, Jonathan Neuschäfer
> wrote:
>
> > This patch is based on code developed by Albert Herranz and the GameCube
> > Linux Team, file arch/powerpc/platforms/embedded6xx/hlwd-gpi
erent subsystems (GPIO, DT, core
resource management), I guess it should be picked up patch-by-patch by
the different maintainers.
Jonathan Neuschäfer (6):
resource: Extend the PPC32 reserved memory hack
powerpc: wii: Explicitly configure GPIO owner for poweroff pin
gpio: Add GPIO driver for Nin
These are the GPIO line names on a Nintendo Wii, as documented in:
https://wiibrew.org/wiki/Hardware/Hollywood_GPIOs
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/boot/dts/wii.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot
river.
I think the Wii can be switched to the generic gpio-poweroff driver,
after the GPIO driver is merged.
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/platforms/embedded6xx/wii.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/platforms/embedded6xx/wii.c
b
Signed-off-by: Jonathan Neuschäfer
---
.../bindings/gpio/nintendo,hollywood-gpio.txt | 27 ++
.../devicetree/bindings/powerpc/nintendo/wii.txt | 9 +---
2 files changed, 28 insertions(+), 8 deletions(-)
create mode 100644
Documentation/devicetree/bindings/gpio
edded6xx/hlwd-gpio.c \
drivers/gpio/gpio-hlwd.c
Cc: Albert Herranz
Cc: Segher Boessenkool
Signed-off-by: Jonathan Neuschäfer
---
This driver currently uses __raw_readl and __raw_writel to access the
GPIO controller's MMIO registers. I wonder if readl/writel plus explicit
byte-swapp
The Hollywood GPIO controller supports 32 GPIOs, but on the Wii, only 24
are used.
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/boot/dts/wii.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/boot/dts/wii.dts b/arch/powerpc/boot/dts/wii.dts
index 40b324b6391e
ed memory.
This hack, however, doesn't account for the "resource"-based API in
kernel/resource.c, because __request_region performs its own checks.
Extend the hack to kernel/resource.c, to allow more drivers to allocate
their MMIO regions on the Wii.
Signed-off-by: Jon
On Fri, Mar 09, 2018 at 10:41:20AM -0700, Jonathan Corbet wrote:
> On Fri, 9 Mar 2018 00:40:16 +0100
> Jonathan Neuschäfer wrote:
>
> > The aim of this patchset is to move the GPIO subsystem's documentation
> > under Documentation/driver-api/gpio/ such that it is p
On Sat, Mar 10, 2018 at 12:50:46PM +0100, Linus Walleij wrote:
> On Fri, Mar 9, 2018 at 12:40 AM, Jonathan Neuschäfer
> wrote:
>
> > The aim of this patchset is to move the GPIO subsystem's documentation
> > under Documentation/driver-api/gpio/ such that it is p
On Fri, Mar 23, 2018 at 04:23:21AM +0100, Linus Walleij wrote:
> On Fri, Mar 9, 2018 at 12:40 AM, Jonathan Neuschäfer
> wrote:
>
> > Jonathan Neuschäfer (8):
> > MAINTAINERS: GPIO: Add Documentation/driver-api/gpio/
> > Documentation: driver-api: Move
even though they are part of the
GPIO chapter. But the resulting TOC tree is consistent, and I did not
want to change almost all headings.
* Some of the files could use more :c:func:`...` references and general
ReST polish.
But I don't want to make this patchset too large.
Jonathan Neus
Move gpio/gpio-legacy.txt to driver-api/gpio/legacy.rst and make sure it
builds cleanly as ReST.
Also move the legacy API reference from index.rst to legacy.rst.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/driver-api/gpio/index.rst| 10 +---
.../gpio-legacy.txt => dri
Steer patches to Documentation/driver-api/gpio/ into the right
direction.
Signed-off-by: Jonathan Neuschäfer
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d6a89d31e4a4..313c0907020c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -6029,6
To make space for more files in the GPIO section, create a
Documentation/driver-api/gpio/ directory.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/driver-api/{gpio.rst => gpio/index.rst} | 0
Documentation/driver-api/index.rst| 2 +-
2 files changed, 1 insertion(+)
Move gpio/drivers-on-gpio.txt to driver-api/gpio/drivers-on-gpio.rst and
make sure it builds cleanly as ReST.
Signed-off-by: Jonathan Neuschäfer
---
This patch applies cleanly on top of 93db446a424c ("mtd: nand: move raw
NAND related code to the raw/ subdir")
---
.../drivers-o
Move gpio/board.txt to driver-api/gpio/board.rst and make sure it builds
cleanly as ReST.
Signed-off-by: Jonathan Neuschäfer
---
.../{gpio/board.txt => driver-api/gpio/board.rst} | 39 --
Documentation/driver-api/gpio/index.rst| 1 +
Documentation/gpio/00-IN
Move gpio/intro.txt to driver-api/gpio/intro.rst and make sure it builds
cleanly as ReST.
Signed-off-by: Jonathan Neuschäfer
---
Documentation/driver-api/gpio/index.rst| 7 +++
Documentation/{gpio/gpio.txt => driver-api/gpio/intro.rst} | 9 +++--
Documentation/g
Move gpio/consumer.txt to driver-api/gpio/consumer.rst and make sure it
builds cleanly as ReST.
Signed-off-by: Jonathan Neuschäfer
---
.../consumer.txt => driver-api/gpio/consumer.rst} | 85 +++---
Documentation/driver-api/gpio/index.rst| 1 +
Documentation/gpio
Move gpio/driver.txt to driver-api/gpio/driver.rst and make sure it
builds cleanly as ReST.
Signed-off-by: Jonathan Neuschäfer
---
.../driver.txt => driver-api/gpio/driver.rst} | 80 +++---
Documentation/driver-api/gpio/index.rst| 1 +
Documentation/gpio
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
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 is
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
ook3s/32/hash.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 0x59
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 del
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
On Thu, Apr 08, 2021 at 08:56:18AM +0100, Marc Zyngier wrote:
> Hi Stephen,
>
> On 2021-04-08 07:35, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the irqchip tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/irqchip/irq-wpcm450-aic.c:9:10: fa
On Fri, Apr 09, 2021 at 04:37:34AM +, Joel Stanley wrote:
> On Tue, 6 Apr 2021 at 21:59, Jonathan Neuschäfer
> wrote:
> >
> > 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
> > > wro
Hi,
On Mon, Mar 19, 2018 at 10:19:32PM +1100, Michael Ellerman wrote:
> Michael Ellerman writes:
> > Jonathan Neuschäfer writes:
[...]
> >> - if (slab_is_available() && (p < virt_to_phys(high_memory)) &&
> >> + if (page_is_ram(__phys_to_pfn
added back the p < virt_to_phys(high_memory) check in
__ioremap_caller because high memory should be allocatable through
ioremap
- I expanded the commit messages a bit
Jonathan Neuschäfer (5):
powerpc: mm: Simplify page_is_ram by using memblock_is_memory
powerpc: mm: Use memblock API for PP
To support accurate checking for different blocks of memory on PPC32,
use the same memblock-based approach that's already used on PPC64 also
on PPC32.
Signed-off-by: Jonathan Neuschäfer
---
v2: no changes
---
arch/powerpc/mm/mem.c | 4
1 file changed, 4 deletions(-)
diff --git a
__ioremap_caller in arch/powerpc/mm/pgtable_32.c
ensures that multiple memblocks are properly considered in ioremap; this
makes it unnecessary to set __allow_ioremap_reserved.
Signed-off-by: Jonathan Neuschäfer
---
v2:
Add some text to the commit message.
---
arch/powerpc/platforms/embedded6xx
Instead of open-coding the search in page_is_ram, call memblock_is_memory.
Signed-off-by: Jonathan Neuschäfer
---
v2: no changes
---
arch/powerpc/mm/mem.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index fe8c61149fb8
This hack, introduced in commit c5df7f775148 ("powerpc: allow ioremap
within reserved memory regions") is now unnecessary.
Signed-off-by: Jonathan Neuschäfer
---
v2: no changes
---
arch/powerpc/mm/init_32.c| 5 -
arch/powerpc/mm/mmu_decl.h | 1 -
arch/powerpc/mm/pgtabl
hat only
ioremap requests for low RAM will be denied.
Reported by Michael Ellerman.
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/mm/pgtable_32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/mm/pgtable_32.c b/arch/powerpc/mm/pgtable_32.c
index d35d9ad3c1cd..6668ecc04
Now that there's a GPIO driver for the Wii, let's enable the following
drivers:
- the GPIO driver itself
- gpio-keys
- gpio-poweroff
- gpio-leds and a few LED triggers
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/configs/wii_defconfig | 8
1 file changed, 8 insertion
delta
kernel_config_data 13691 13324-367
Total: Before=8341718, After=8341351, chg -0.00%
Signed-off-by: Jonathan Neuschäfer
---
arch/powerpc/configs/wii_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/configs/wii_defconfig
b/arch/powerpc/co
Signed-off-by: Jonathan Neuschäfer
---
Documentation/driver-api/gpio/driver.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/driver-api/gpio/driver.rst
b/Documentation/driver-api/gpio/driver.rst
index 505ee906d7d9..cbe0242842d1 100644
--- a
Signed-off-by: Jonathan Neuschäfer
---
Documentation/admin-guide/pm/sleep-states.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/pm/sleep-states.rst
b/Documentation/admin-guide/pm/sleep-states.rst
index 1e5c0f00cb2f..dbf5acd49f35 100644
--- a
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.
[...]
> > +
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
o Kconfig and Makefile in alphabetical order.
Thanks,
Jonathan Neuschäfer
signature.asc
Description: PGP signature
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 after
Make it so that each column label is in the column that it is supposed
to refer to.
Signed-off-by: Jonathan Neuschäfer
---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c
b/drivers/pinctrl
> spi-nor.c file.
>
> Signed-off-by: Flavio Suligoi
> ---
Reviewed-by: Jonathan Neuschäfer
Thanks.
> Documentation/driver-api/mtd/spi-nor.rst | 2 +-
> drivers/mtd/spi-nor/core.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> d
ing those. I'll fix them in version 2.
Best regards,
Jonathan Neuschäfer
signature.asc
Description: PGP signature
indings 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...@gmx.net/
Jonathan Neuschäfer (7):
dt-bindin
-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
---
v6:
- Add Lee Jones
ned-off-by: Jonathan Neuschäfer
Acked-by: Rob Herring
---
v4-v6:
- 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
.
Signed-off-by: Jonathan Neuschäfer
Reviewed-by: Rob Herring
---
v5, v6:
- 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
Let's make sure I'll notice when there are patches for the NTXEC
drivers.
Signed-off-by: Jonathan Neuschäfer
---
v4-v6:
- no changes
v3:
- https://lore.kernel.org/lkml/20200924192455.2484005-7-j.neuschae...@gmx.net/
- Remove pwm and rtc bindings
v2:
- https://lore.kerne
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
---
v6:
- no changes
v5:
- Add Alexandre Belloni'
RTC alarm and low-battery events
Signed-off-by: Jonathan Neuschäfer
---
v5, v6:
- 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
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
---
v6:
-
On Tue, Dec 08, 2020 at 02:09:58AM +0100, Jonathan Neuschäfer wrote:
> 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
controller uses high-level interrupts rather than falling-edge
interrupts, and whether flags should be specified is up the interrupt
controller's DT binding.
Signed-off-by: Jonathan Neuschäfer
---
.../devicetree/bindings/timer/nuvoton,npcm7xx-timer.txt| 3 +--
1 file changed, 1
On Fri, Jan 08, 2021 at 01:28:03PM +0100, Jonathan Neuschäfer wrote:
> The NPCM750 Timer/Watchdoc Controller has multiple interrupt lines,
oops, that's a typo.
> connected to multiple timers. The driver uses timer 0 for timer
> interrupts, so the
controller uses high-level interrupts rather than falling-edge
interrupts, and whether flags should be specified is up the interrupt
controller's DT binding.
Signed-off-by: Jonathan Neuschäfer
---
v2:
- Fix a typo in the word "watchdog"
---
.../devicetree/bindings/timer/
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.
---
.../devicetree/bindings/arm/npcm/npcm.txt | 6 -
.../devicetree/bindings/arm/npcm/npcm.yaml| 23 +++
2 files change
According to the revised binding, the devicetree needs a board-specific
compatible string.
Signed-off-by: Jonathan Neuschäfer
---
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-evb.dts
b/arch/arm
ndings 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...@gmx.net/
Jonathan Neuschäfer (7):
dt-bindi
-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
---
v7:
- Add #defin
ned-off-by: Jonathan Neuschäfer
Acked-by: Rob Herring
---
v4-v7:
- 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
.
Signed-off-by: Jonathan Neuschäfer
Reviewed-by: Rob Herring
---
v5-v7:
- 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
Let's make sure I'll notice when there are patches for the NTXEC
drivers.
Signed-off-by: Jonathan Neuschäfer
---
v4-v7:
- no changes
v3:
- https://lore.kernel.org/lkml/20200924192455.2484005-7-j.neuschae...@gmx.net/
- Remove pwm and rtc bindings
v2:
- https://lore.kerne
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
---
v7:
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
---
v7:
- Adjust to recent RTC API change
RTC alarm and low-battery events
Signed-off-by: Jonathan Neuschäfer
---
v5-v7:
- 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.
On Tue, Jan 12, 2021 at 08:36:49PM +0100, Andreas Kemnade wrote:
> On Sat, 9 Jan 2021 19:02:16 +0100
> Jonathan Neuschäfer wrote:
[...]
> > +static const struct of_device_id of_ntxec_match_table[] = {
> > + { .compatible = "netronix,ntxec", },
> > + {}
&
On Wed, Jan 13, 2021 at 11:46:45PM +0100, Andreas Kemnade wrote:
> On Tue, 12 Jan 2021 20:39:02 +0100
> Andreas Kemnade wrote:
>
> [...]
> > > +static int ntxec_pwm_probe(struct platform_device *pdev)
[...]
> > Hmm, I needed
> > chip->dev = &pdev->dev.parent to use the backlight example
> > in pa
them to the maintainer, see CHECKPATCH in MAINTAINERS.
I attached the patch, for reference.
Best regards,
Jonathan Neuschäfer
From 3aaf23345633070909e23a05a9f92748e445b3b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?=
Date: Mon, 28 Dec 2020 01:09:31 +0100
Subje
hen needed:
- description: NPCM750 based boards
items:
- enum:
- vendor,foo-bar-bmc
- const: nuvoton,npcm750
What do you think?
Thanks,
Jonathan Neuschäfer
> On Wed, 3 Mar 2021 at 17:47, Jonathan Neuschäfer
> wrote:
[...]
> &g
n,.*":
> description: Shenzhen Hugsun Technology Co. Ltd.
>"^hwacom,.*":
> +description: Hycon Technology Corp.
> + "^hycon,.*":
> description: HwaCom Systems Inc.
This is the wrong way around. You declared "hwacom," to mean "H
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
f the binding a little simpler.
Signed-off-by: Jonathan Neuschäfer
Reviewed-by: Rob Herring
---
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.neu
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/linux/workqueue.h | 2 +-
1 file
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/linux/kthread.h | 2 +-
1 file
1 - 100 of 475 matches
Mail list logo