- 27 3月, 2017 2 次提交
-
-
由 Icenowy Zheng 提交于
After converting to generic pinconf binding, pinctrl-a10.h is now not used at all. Drop its inclusion for H3 DTSI. Signed-off-by: NIcenowy Zheng <icenowy@aosc.xyz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Icenowy Zheng 提交于
The skeleton.dtsi file is now deprecated, and do not exist in ARM64 environment. Since we will soon reuse most part of H3 DTSI for H5, which is an ARM64 chip, drop skeleton.dtsi inclusion now. Signed-off-by: NIcenowy Zheng <icenowy@aosc.xyz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 07 2月, 2017 1 次提交
-
-
由 Marc Zyngier 提交于
Since everybody copied my own mistake from the DT binding example, let's address all the offenders in one swift go. Most of them got the CPU interface size wrong (4kB, while it should be 8kB), except for both keystone platforms which got the control interface wrong (4kB instead of 8kB). In a few cases where I knew for sure what implementation was used, I've added the "arm,gic-400" compatible string. I'm 99% sure that this is what everyone is using, but short of having the TRM for all the other SoCs, I've left them alone. Acked-by: NShawn Guo <shawnguo@kernel.org> Acked-by: NTony Lindgren <tony@atomide.com> Acked-by: NSantosh Shilimkar <ssantosh@kernel.org> Acked-by: NKrzysztof Kozlowski <krzk@kernel.org> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NAntoine Tenart <antoine.tenart@free-electrons.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NMatthias Brugger <matthias.bgg@gmail.com> Acked-by: NHeiko Stuebner <heiko@sntech.de> Reviewed-by: NJavier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 28 1月, 2017 2 次提交
-
-
由 Marcus Cooper 提交于
Add the SPDIF transceiver controller block to the H3 dtsi. Signed-off-by: NMarcus Cooper <codekipper@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Marcus Cooper 提交于
Add the SPDIF TX pin to the H3 dtsi. Signed-off-by: NMarcus Cooper <codekipper@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 11 1月, 2017 2 次提交
-
-
由 Chen-Yu Tsai 提交于
Now that we support the audio codec found on the Allwinner H3 SoC, add device nodes for it. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Chen-Yu Tsai 提交于
In the past, all the MMC pins had allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; which was actually a no-op. We were relying on U-boot to set the bias pull up for us. These properties were removed as part of the fix up to actually support no bias on the pins. During the transition some boards experienced regular MMC time-outs during normal operation, while others completely failed to initialize the SD card. Given that MMC starts in open-drain mode and the pull-ups are required, it's best to enable it for all the pin settings. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 26 12月, 2016 3 次提交
-
-
由 Maxime Ripard 提交于
Now that we can handle the generic pinctrl bindings, convert our DT to it. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NChen-Yu Tsai <wens@csie.org> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Maxime Ripard 提交于
The allwinner,pull property set to NO_PULL was really considered our default (and wasn't even changing the default value in the code). Remove these properties to make it obvious that we do not set anything in such a case. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NChen-Yu Tsai <wens@csie.org> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
由 Maxime Ripard 提交于
The allwinner,drive property set to 10mA was really considered as our default. Remove all those properties entirely to make that obvious. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NChen-Yu Tsai <wens@csie.org> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
-
- 08 12月, 2016 1 次提交
-
-
由 Jorik Jonker 提交于
In a previous commit, I made a copy/paste error in the pinmux definitions of UART3: PG{13,14} instead of PA{13,14}. This commit takes care of that. I have tested this commit on Orange Pi PC and Orange Pi Plus, and it works for these boards. Fixes: e3d11d3c ("dts: sun8i-h3: add pinmux definitions for UART2-3") Signed-off-by: NJorik Jonker <jorik@kippendief.biz> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
- 22 11月, 2016 3 次提交
-
-
由 Maxime Ripard 提交于
The pin controllers also use the two oscillators for debouncing. Add them to the DTs. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Milo Kim 提交于
H3 SPI subsystem is almost same as A31 SPI except buffer size, so those DT properties are reusable. Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Signed-off-by: NMilo Kim <woogyom.kim@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Milo Kim 提交于
H3 supports two SPI controllers. Four pins (MOSI, MISO, SCLK, SS) are configured through the pinctrl subsystem. Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Signed-off-by: NMilo Kim <woogyom.kim@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 27 9月, 2016 1 次提交
-
-
由 Hans de Goede 提交于
Use the new sun7i-a20-mmc compatible for the mmc controllers on sun7i and newer. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
-
- 21 9月, 2016 4 次提交
-
-
由 Jorik Jonker 提交于
These peripherals can only be muxed to these pins, so they are associated in the DTSI instead of the board files. This makes it very easy to enable them using overlays or u-boot commands: => fdt set /soc/i2c@01c2ac00 status okay Signed-off-by: NJorik Jonker <jorik@kippendief.biz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Jorik Jonker 提交于
These are the only possible pins for these peripherals according to the datasheet. Signed-off-by: NJorik Jonker <jorik@kippendief.biz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Jorik Jonker 提交于
This was done to make UART1-3 on H3 consistent, and less complicated to enable UART1-3 on the breakout header on the several H3 board (notably Orange Pi's). This patch adds a bit of complexity for the existing Banana Pi, which already had the RTS/CTS associated on UART1. The RTS/CTS for UART2-3 could be defined in the same way, but since there is no actual use case for them at the moment, they are left out. Signed-off-by: NJorik Jonker <jorik@kippendief.biz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Jorik Jonker 提交于
These are the pinmux definitions for UART2-3 on H3. These UARTs can only be muxed to these pins, so _a and @0 do not really make sense. I have left out RTS/CTS, since these are rarely used. These can easily be enabled using an additional pinmux set. Signed-off-by: NJorik Jonker <jorik@kippendief.biz> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 01 9月, 2016 1 次提交
-
-
由 Milo Kim 提交于
Acked-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMilo Kim <woogyom.kim@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 12 7月, 2016 1 次提交
-
-
由 Maxime Ripard 提交于
Now that we have a different clock representation, switch to it. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160629190535.11855-15-maxime.ripard@free-electrons.com
-
- 05 7月, 2016 2 次提交
-
-
由 Chen-Yu Tsai 提交于
Add uart1 pins for 4 pin (RX/TX/RTS/CTS) mode. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Chen-Yu Tsai 提交于
Move uart0 pins to sort the list of pin settings in alphabetical order. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 27 3月, 2016 3 次提交
-
-
由 Reinder de Haan 提交于
Add nodes describing the H3's usbphy and usb host controller nodes. Signed-off-by: NReinder de Haan <patchesrdh@mveas.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Reinder de Haan 提交于
Add a node describing the usb-clks found on the H3. Signed-off-by: NReinder de Haan <patchesrdh@mveas.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Hans de Goede 提交于
Add a pinctrl node for mmc2 in 8 bits mode on H3 SoCs. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 26 2月, 2016 3 次提交
-
-
由 Hans de Goede 提交于
The H3 ir receiver is completely compatible with the one found in the A31. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Krzysztof Adamski 提交于
Add the corresponding device node for R_PIO on H3 to the dtsi. Support for the controller was added in earlier commit. Signed-off-by: NKrzysztof Adamski <k@japko.eu> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Krzysztof Adamski 提交于
APB0 is bearly mentioned in H3 User Manual and it is only setup in the Allwinners kernel dump for CIR. I have verified experimentally that the gate for R_PIO exists and works, though. There are probably other gates there but I don't know their order right now and I don't have access to their peripherals on my board to test them. After some experiments and reviewing how this is organized on other sunxi SoCs, I couldn't actually find any way to disable clocks for R_PIO and they are working properly without doing anything so I assume they are connected straight to the 24Mhz oscillator for now. Signed-off-by: NKrzysztof Adamski <k@japko.eu> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 09 2月, 2016 1 次提交
-
-
由 Krzysztof Adamski 提交于
pinctrl-sunxi uses 3 cells to describe interrupt, not 2. It's bank number, pin number and flags. Signed-off-by: NKrzysztof Adamski <k@japko.eu> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 08 12月, 2015 1 次提交
-
-
由 Jens Kuske 提交于
The Allwinner H3 is a home entertainment system oriented SoC with four Cortex-A7 cores and a Mali-400MP2 GPU. Signed-off-by: NJens Kuske <jenskuske@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 20 11月, 2015 1 次提交
-
-
由 Chen-Yu Tsai 提交于
Some boards, such as tablets, have regulators providing power to parts of the display pipeline, like signal converters and LCD panels. Add labels to the simplefb device nodes so that we can reference them in the board dts files to add regulator supply properties. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 18 10月, 2015 1 次提交
-
-
由 Hans de Goede 提交于
When the gpio interrupt bindings where changed to add a bank to the specifier list, the r_pio nodes of A23/A31/A33 where not updated to match and neither was the pio node of the A80, this fixes this. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 16 10月, 2015 1 次提交
-
-
由 Chen-Yu Tsai 提交于
The NMI interrupt controller is in charge of the NMI pin exposed by the SoC to the PMIC. The PMIC signals interrupts through this. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 07 10月, 2015 1 次提交
-
-
由 Chen-Yu Tsai 提交于
This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A23/A33 dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 27 9月, 2015 3 次提交
-
-
由 Maxime Ripard 提交于
The AHB1 gates were assumed to be identical between the A23 and the A33, which turned out to be wrong. Move the A23 gates definition to the A23 DTSI. Reported-by: NChen-Yu Tsai <wens@csie.org> Reviewed-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Chen-Yu Tsai 提交于
The PWM controller has 2 outputs, with one usable pin for each. Add a pinmux setting for the first channel. This is often used for backlight dimming on tablets. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Chen-Yu Tsai 提交于
A23/A33 have a PWM controller that is compatible to the one on the A20. Add a device node for it. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Reviewed-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 12 8月, 2015 1 次提交
-
-
由 Maxime Ripard 提交于
The A23 and A33 gates have a non continuous set of clock IDs that are valid. Add the clock-indices property to the DT to express this. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: NMichael Turquette <mturquette@baylibre.com>
-
- 28 7月, 2015 1 次提交
-
-
由 Maxime Ripard 提交于
The current DTs were setting the cell size to 2, but used the default xlate function that was assuming an interrupt cell size of 1, leading to the second part of the cell (the flags) being ignored, while we were having an inconsistent binding between the interrupts and gpio (that could also be used as interrupts). That "binding" doesn't work either with newer SoCs that have multiple irq banks. Now that we fixed the pinctrl driver to handle this like it should always have been handled, convert the DT users, and while we're at it, remove the size-cells property of PIO that is completely useless. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
-