summaryrefslogtreecommitdiffstats
path: root/arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ARM: dts: sun8i: a23/a33: Provide default muxing for relevant controllersMaxime Ripard2018-11-287-24/+8
| | | | | | | | | The I2C's and MMC0 controllers have only one muxing option in the SoC. In such a case, we can just move the muxing into the DTSI, and remove it from the DTS. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sunxi: reference: Move the muxing back to the common DTSIMaxime Ripard2018-11-283-20/+3
| | | | | | | | | Now that all the SoCs using the tablet reference design DTSI are using the same pinctrl naming scheme, we can move back the pinctrl phandles to the main DTSI. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove underscores from nodes namesMaxime Ripard2018-11-284-4/+4
| | | | | | | | | | | | | Some GPIO pinctrl nodes cannot be easily removed, because they would also change the pin configuration, for example to add a pull resistor or change the current delivered by the pin. Those nodes still have underscores and unit-addresses in their node names in our DTs, so adjust their name to remove the warnings. Use that occasion to also fix some poorly chosen node-names. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Change pinctrl nodes to avoid warningMaxime Ripard2018-11-2814-41/+50
| | | | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove card detect pull-upMaxime Ripard2018-11-284-32/+4
| | | | | | | | | | Boards usually have an external pull-up on the card-detect signal, so there's no need to add another one. This also removes a DTC warning. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Reorder the pin groupsMaxime Ripard2018-11-281-26/+26
| | | | | | | | The pin groups are supposed to be in alphabetical order, and they aren't. Fix this. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Change LRADC node names to avoid warningsMaxime Ripard2018-11-285-10/+10
| | | | | | | | | | | | | | | One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove all useless pinctrl nodesMaxime Ripard2018-11-284-47/+1
| | | | | | | | | The gpio pinctrl nodes are redundant and as such useless most of the times. Since they will also generate warnings in DTC, we can simply remove most of them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove redundant MMC pinmux tuningMaxime Ripard2018-11-286-19/+0
| | | | | | | | | | | | Some boards override the MMC pin muxing settings in order to enable the pull-ups and change the drive strength to a value higher than the default. While this was needed in the earlier days, this is now the default setting for those pins, and therefore we don't need those board-specific settings anymore. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Change framebuffer node names to avoid warningsMaxime Ripard2018-11-281-1/+1
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove leading zeros from unit-addressesMaxime Ripard2018-11-281-1/+1
| | | | | | | | | | 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 Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove unused address-cells/size-cellsMaxime Ripard2018-11-281-2/+0
| | | | | | | | | | | The #address-cells and #size-cells are only relevant for nodes that have childs with reg properties. Otherwise, DTC will emit a warning saying that those properties are unnecessary. Remove them when needed. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Fix OPP DTC warningsMaxime Ripard2018-11-282-5/+5
| | | | | | | | | | | DTC will emit a warning on our OPPs nodes for the common DTSI between the A23 and A33 since those nodes use the frequency as unit addresses, but don't have a matching reg property. Fix this by moving the frequency to the node name instead. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove SoC node unit-name to avoid warningsMaxime Ripard2018-11-283-3/+3
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun8i: a23/a33: Remove skeleton and memory to avoid warningsMaxime Ripard2018-11-283-10/+2
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: lamobo-r1: Remove unused address-cells/size-cellsMaxime Ripard2018-11-281-2/+2
| | | | | | | | | | | The #address-cells and #size-cells are only relevant for nodes that have childs with reg properties. Otherwise, DTC will emit a warning saying that those properties are unnecessary. Remove them when needed. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove redundant MMC pinmux tuningMaxime Ripard2018-11-283-15/+0
| | | | | | | | | | | | Some boards override the MMC pin muxing settings in order to enable the pull-ups and change the drive strength to a value higher than the default. While this was needed in the earlier days, this is now the default setting for those pins, and therefore we don't need those board-specific settings anymore. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Provide default muxing for relevant controllersMaxime Ripard2018-11-2828-167/+14
| | | | | | | | | The I2C and MMC controllers have only one muxing option in the SoC. In such a case, we can just move the muxing into the DTSI, and remove it from the DTS. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Fix HDMI output DTC warningMaxime Ripard2018-11-281-2/+0
| | | | | | | | | Our HDMI output endpoint on the A10s DTSI has a warning under DTC: "graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary". Fix this by removing those properties. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove underscores from nodes namesMaxime Ripard2018-11-2814-21/+21
| | | | | | | | | | | | | Some GPIO pinctrl nodes cannot be easily removed, because they would also change the pin configuration, for example to add a pull resistor or change the current delivered by the pin. Those nodes still have underscores and unit-addresses in their node names in our DTs, so adjust their name to remove the warnings. Use that occasion to also fix some poorly chosen node-names. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: som204: Use the UART3 TX and RX pin groupMaxime Ripard2018-11-281-3/+3
| | | | | | | | | | The SOM204-EVB doesn't use the CTS pin, and thus was defining its own pinctrl node for the UART3 muxing. Since we split away the TX and RX pin, we can use the global node now, and only have the RTS pin in our local node. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Split the RTS and CTS pins out of the UART nodesMaxime Ripard2018-11-283-5/+15
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Change pinctrl nodes to avoid warningMaxime Ripard2018-11-2829-236/+236
| | | | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove gpio-keys warningsMaxime Ripard2018-11-281-6/+7
| | | | | | | | | | Some gpio-keys definitions in our DTs were having buttons defined with a unit-address and that would generate a DTC warning. Change the buttons node names to remove the warnings. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Change LRADC node names to avoid warningsMaxime Ripard2018-11-283-16/+16
| | | | | | | | | | | | | | | One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove card detect pull-upMaxime Ripard2018-11-288-67/+9
| | | | | | | | | | Boards usually have an external pull-up on the card-detect signal, so there's no need to add another one. This also removes a DTC warning. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove all useless pinctrl nodesMaxime Ripard2018-11-2820-370/+0
| | | | | | | | | The gpio pinctrl nodes are redundant and as such useless most of the times. Since they will also generate warnings in DTC, we can simply remove most of them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Change framebuffer node names to avoid warningsMaxime Ripard2018-11-281-3/+3
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Change clock node names to avoid warningsMaxime Ripard2018-11-281-4/+4
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove SoC node unit-name to avoid warningsMaxime Ripard2018-11-281-1/+1
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun7i: Remove skeleton and memory to avoid warningsMaxime Ripard2018-11-281-6/+2
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Provide default muxing for relevant controllersMaxime Ripard2018-11-2811-44/+10
| | | | | | | | | The I2C and MMC controllers have only one muxing option in the SoC. In such a case, we can just move the muxing into the DTSI, and remove it from the DTS. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: colombus: Change i2c node name to avoid warningsMaxime Ripard2018-11-281-1/+1
| | | | | | | | Our I2C GPIO bus node name has a unit address, but no reg property, which generates a warning in DTC. Change the name to remove that unit address. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove underscores from nodes namesMaxime Ripard2018-11-283-3/+3
| | | | | | | | | | | | | Some GPIO pinctrl nodes cannot be easily removed, because they would also change the pin configuration, for example to add a pull resistor or change the current delivered by the pin. Those nodes still have underscores and unit-addresses in their node names in our DTs, so adjust their name to remove the warnings. Use that occasion to also fix some poorly chosen node-names. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Change pinctrl nodes to avoid warningMaxime Ripard2018-11-2815-68/+68
| | | | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove redundant MMC pinmux tuningMaxime Ripard2018-11-284-21/+0
| | | | | | | | | | | | Some boards override the MMC pin muxing settings in order to enable the pull-ups and change the drive strength to a value higher than the default. While this was needed in the earlier days, this is now the default setting for those pins, and therefore we don't need those board-specific settings anymore. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove card detect pull-upMaxime Ripard2018-11-2810-85/+10
| | | | | | | | | | Boards usually have an external pull-up on the card-detect signal, so there's no need to add another one. This also removes a DTC warning. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove all useless pinctrl nodesMaxime Ripard2018-11-289-104/+3
| | | | | | | | | The gpio pinctrl nodes are redundant and as such useless most of the times. Since they will also generate warnings in DTC, we can simply remove most of them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Change LRADC node names to avoid warningsMaxime Ripard2018-11-284-8/+8
| | | | | | | | | | | | | | | One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove SoC node unit-name to avoid warningsMaxime Ripard2018-11-281-1/+1
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Change clock node names to avoid warningsMaxime Ripard2018-11-281-4/+4
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Change framebuffer node names to avoid warningsMaxime Ripard2018-11-281-2/+2
| | | | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun6i: Remove skeleton and memory to avoid warningsMaxime Ripard2018-11-281-6/+2
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun5i: Provide default muxing for relevant controllersMaxime Ripard2018-11-2816-94/+13
| | | | | | | | | The I2C's, MMC0 and MMC1 controllers have only one muxing option in the SoC. In such a case, we can just move the muxing into the DTSI, and remove it from the DTS. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun5i: A10s: Remove empty SRAM nodeMaxime Ripard2018-11-281-3/+0
| | | | | | | The SRAM node in the A10s DTSI is empty, remove it. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sunxi: Change LRADC node names to avoid warningsMaxime Ripard2018-11-281-2/+2
| | | | | | | | | | | | | | | One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun5i: Remove underscores from nodes namesMaxime Ripard2018-11-2811-21/+20
| | | | | | | | | | | | | Some GPIO pinctrl nodes cannot be easily removed, because they would also change the pin configuration, for example to add a pull resistor or change the current delivered by the pin. Those nodes still have underscores and unit-addresses in their node names in our DTs, so adjust their name to remove the warnings. Use that occasion to also fix some poorly chosen node-names. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sunxi: Remove the CMA node labelMaxime Ripard2018-11-284-4/+4
| | | | | | | There's no phandle pointing to the CMA pool, so it's label is unnecessary. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sunxi: Change default CMA pool node nameMaxime Ripard2018-11-284-4/+4
| | | | | | | | | 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: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
* ARM: dts: sun5i: a10s: Fix HDMI output DTC warningMaxime Ripard2018-11-281-2/+0
| | | | | | | | | Our HDMI output endpoint on the A10s DTSI has a warning under DTC: "graph node has single child node 'endpoint', #address-cells/#size-cells are not necessary". Fix this by removing those properties. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>