- 28 11月, 2018 8 次提交
-
-
由 Maxime Ripard 提交于
Some UART nodes on the A20 DTSI do not share the same pattern that we use everywhere else, with the RTS and CTS pins split away from the TX and RX pins. Make those pin groups consistent with the rest of our DT. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
All our pinctrl nodes were using a node name convention with a unit-address to differentiate the different muxing options. However, since those nodes didn't have a reg property, they were generating warnings in DTC. In order to accomodate for this, convert the old nodes to the syntax we've been using for the new SoCs, including removing the letter suffix of the node labels to the bank of those pins to make things more readable. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
The simple-framebuffer nodes have a unit address, but no reg property which generates a warning when compiling it with DTC. Change the simple-framebuffer node names so that there is no warnings on this anymore. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
Our oscillators clock names have a unit address, but no reg property, which generates a warning in DTC. Change these names to remove those unit addresses. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
Our main node for all the in-SoC controllers used to have a unit name. The unit-name, in addition to being actually false, would not match any reg property, which generates a warning. Remove it in order to remove those warnings. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
Using skeleton.dtsi will create a memory node that will generate a warning in DTC. However, that node will be created by the bootloader, so we can just remove it entirely in order to remove that warning. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
There's no phandle pointing to the CMA pool, so it's label is unnecessary. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
由 Maxime Ripard 提交于
The CMA node has a unit address, but no reg property which generates a warning in DTC. Change the node name to reflect its usage and drop the unit address. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NChen-Yu Tsai <wens@csie.org>
-
- 19 11月, 2018 1 次提交
-
-
由 Viresh Kumar 提交于
Each CPU can (and does) participate in cooling down the system but the DT only captures a handful of them, normally CPU0, in the cooling maps. Things work by chance currently as under normal circumstances its the first CPU of each cluster which is used by the operating systems to probe the cooling devices. But as soon as this CPU ordering changes and any other CPU is used to bring up the cooling device, we will start seeing failures. Also the DT is rather incomplete when we list only one CPU in the cooling maps, as the hardware doesn't have any such limitations. Update cooling maps to include all devices affected by individual trip points. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
- 11 9月, 2018 1 次提交
-
-
由 Paul Kocialkowski 提交于
This adds nodes for the Video Engine and the associated reserved memory for the A20. Up to 96 MiB of memory are dedicated to the CMA pool. The VPU can only map the first 256 MiB of DRAM, so the reserved memory pool has to be located in that area. Following Allwinner's decision in downstream software, the last 96 MiB of the first 256 MiB of RAM are reserved for this purpose. Signed-off-by: NPaul Kocialkowski <paul.kocialkowski@bootlin.com> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
- 11 7月, 2018 2 次提交
-
-
由 Maxime Ripard 提交于
This adds support for the C1 SRAM region (to be used with the SRAM controller driver) for the A20 platform. The region is shared between the Video Engine and the CPU. Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NPaul Kocialkowski <paul.kocialkowski@bootlin.com> [Maxime: Fixed the SRAM C size] Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
由 Paul Kocialkowski 提交于
This switches the sun7i-a20 dtsi to use the most qualified compatibles for the system-control block (previously named SRAM controller) as well as the SRAM blocks. The sun4i-a10 compatibles are kept since these hardware blocks are backward-compatible. The node name for system control is also updated to reflect the fact that the controller described is really about system control rather than SRAM control. Signed-off-by: NPaul Kocialkowski <paul.kocialkowski@bootlin.com> Reviewed-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
- 18 6月, 2018 1 次提交
-
-
由 Viresh Kumar 提交于
The cooling device properties, like "#cooling-cells" and "dynamic-power-coefficient", should either be present for all the CPUs of a cluster or none. If these are present only for a subset of CPUs of a cluster then things will start falling apart as soon as the CPUs are brought online in a different order. For example, this will happen because the operating system looks for such properties in the CPU node it is trying to bring up, so that it can register a cooling device. Add such missing properties. Fix other missing properties (clocks, OPP, clock latency) as well to make it all work. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
- 15 2月, 2018 1 次提交
-
-
由 Giulio Benetti 提交于
The A20 has an ARM Mali 400 GPU, so add binding to our DT. Signed-off-by: NGiulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
-
- 13 2月, 2018 2 次提交
-
-
由 Viresh Kumar 提交于
The "cooling-min-level" and "cooling-max-level" properties are not parsed by any part of the kernel currently and the max cooling state of a CPU cooling device is found by referring to the cpufreq table instead. Remove the unused properties from the CPU nodes. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NChen-Yu Tsai <wens@csie.org>
-
由 Giulio Benetti 提交于
Including sun4i header instead of sun7i prevents using sun7i specific defines. Substitute header inclusion in sun7i-a20.dtsi using right one. Signed-off-by: NGiulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 06 1月, 2018 1 次提交
-
-
由 Chen-Yu Tsai 提交于
There is a copy-paste error in the display pipeline device tree graph. The remote endpoint of the display backend 1's output to TCON0 points to the wrong endpoint. This will result in the driver incorrectly parsing the relationship of the components. Reported-by: NAndrea Venturi <ennesimamail.av@gmail.com> Fixes: 0df4cf33 ("ARM: dts: sun4i: Add device nodes for display pipelines") Fixes: 5b92b29b ("ARM: dts: sun7i: Add device nodes for display pipelines") Signed-off-by: NChen-Yu Tsai <wens@csie.org> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 05 12月, 2017 1 次提交
-
-
由 Chen-Yu Tsai 提交于
When the HDMI controller device node was added, the needed PLL clock macros were not exported. A separate patch addresses that, but it is merged through a different tree. Now that both patches are in mainline proper, we can convert the raw numbers to proper macros. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 20 10月, 2017 1 次提交
-
-
由 Rob Herring 提交于
Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm/boot/dts -type -f -name '*.dts*' Dropped changes to ARM, Ltd. boards LED nodes and manually fixed up some occurrences of uppercase hex. Signed-off-by: NRob Herring <robh@kernel.org> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 18 10月, 2017 1 次提交
-
-
由 Jonathan Liu 提交于
The A20 has two interconnected display pipelines, mirroring the A10. Add all the device nodes for them, including the downstream HDMI controller that we already support. Signed-off-by: NJonathan Liu <net147@gmail.com> [wens@csie.org: Squashed in HDMI and provided commit message] Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 06 10月, 2017 1 次提交
-
-
由 Maxime Ripard 提交于
Most of our device trees have had leading zeros for padding as part of the nodes unit-addresses. Remove all these useless zeros that generate warnings Acked-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 17 9月, 2017 1 次提交
-
-
由 Priit Laes 提交于
Convert sun7i-a20.dtsi to new CCU driver. Tested on Cubietruck. Signed-off-by: NPriit Laes <plaes@plaes.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 07 6月, 2017 1 次提交
-
-
由 Antoine Tenart 提交于
Add SoC specific compatibles for all sunXi crypto nodes, in addition to the one already used (allwinner,sun4i-a10-crypto). Signed-off-by: NAntoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 14 5月, 2017 1 次提交
-
-
由 Chen-Yu Tsai 提交于
As part of our effort to move pinctrl/GPIO interlocking into the driver where it belongs, this patch drops the definition and usage of the mmc0_cd_pin_reference_design pinmux setting for the default mmc0 card detect GPIO pin. Signed-off-by: NChen-Yu Tsai <wens@csie.org> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 05 4月, 2017 1 次提交
-
-
由 Patrick Menschel 提交于
This patch changes the device node position of ps20 and ps21 to fix ordering by rising physical address. From uart7: serial@01c29c00 i2c0: i2c@01c2ac00 i2c1: i2c@01c2b000 i2c2: i2c@01c2b400 i2c3: i2c@01c2b800 i2c4: i2c@01c2c000 gmac: ethernet@01c50000 hstimer@01c60000 gic: interrupt-controller@01c81000 ps20: ps2@01c2a000 ps21: ps2@01c2a400 to uart7: serial@01c29c00 ps20: ps2@01c2a000 ps21: ps2@01c2a400 i2c0: i2c@01c2ac00 i2c1: i2c@01c2b000 i2c2: i2c@01c2b400 i2c3: i2c@01c2b800 i2c4: i2c@01c2c000 gmac: ethernet@01c50000 hstimer@01c60000 gic: interrupt-controller@01c81000 Signed-off-by: NPatrick Menschel <menschel.p@posteo.de> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 04 4月, 2017 2 次提交
-
-
由 Patrick Menschel 提交于
The A20 SoC has an on-board CAN controller. This patch adds the pinctrl settings for pins PH20 and PH21. This patch is adapted from the description in Documentation/devicetree/bindings/net/can/sun4i_can.txt Signed-off-by: NPatrick Menschel <menschel.p@posteo.de> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Patrick Menschel 提交于
The A20 SoC has an on-board CAN controller. This patch adds the device node. The CAN controller is inherited from the A10 SoC and uses the same driver. This patch is adapted from the description in Documentation/devicetree/bindings/net/can/sun4i_can.txt Signed-off-by: NPatrick Menschel <menschel.p@posteo.de> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
- 27 3月, 2017 1 次提交
-
-
由 Chen-Yu Tsai 提交于
All dts files for the sunxi platform have been switched to the generic pinconf bindings. As a result, the sunxi specific pinctrl macros are no longer used. Remove the #include entry with the following command: sed --follow-symlinks -i -e '/pinctrl\/sun4i-a10.h/D' \ arch/arm/boot/dts/sun?i*.* arch/arm/boot/dts/sun9i-a80.dtsi was then edited to remove the extra empty line. Signed-off-by: NChen-Yu Tsai <wens@csie.org> 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>
-
- 11 1月, 2017 2 次提交
-
-
由 Emmanuel Vadot 提交于
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. The current driver doesn't read this property but this is useful for downstream user of DTS (FreeBSD for example). Signed-off-by: NEmmanuel Vadot <manu@bidouilliste.com> 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>
-
- 22 11月, 2016 1 次提交
-
-
由 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>
-
- 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>
-
- 05 7月, 2016 4 次提交
-
-
由 Maxime Ripard 提交于
Add the new DAI blocks to the device tree. Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Emilio López 提交于
This commit adds all the mod1 clocks available on A20 to its device tree. This list was created by looking at the A20 user manual. Signed-off-by: NEmilio López <emilio@elopez.com.ar> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Boris Brezillon 提交于
Add NAND Flash controller node definition to the A20 SoC. Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: NAleksei Mamlin <mamlinav@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Aleksei Mamlin 提交于
No functional change. Re-order sun7i pinctrl nodes alphabetically. Signed-off-by: NAleksei Mamlin <mamlinav@gmail.com> Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-