summaryrefslogtreecommitdiff
path: root/arch/c6x
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2016-10-22 15:54:55 +0300
committerHeiko Stuebner <heiko@sntech.de>2017-01-02 16:25:19 +0300
commite9e79d5395b2e60a03811073e0aedfbd7fa0bc57 (patch)
tree66bd0f9c70966329417d60723549c8b894b7b596 /arch/c6x
parent0af13f7063a6ffc94c905ffc8c5f324f91e5843a (diff)
downloadlinux-e9e79d5395b2e60a03811073e0aedfbd7fa0bc57.tar.xz
ARM: dts: rockchip: use pin constants to describe gpios
Use macros to describe gpios will make the dts easier to read and write. All the modifications done with sed: sed -i -e 's/ 0 GPIO_ACTIVE_/ RK_PA0 GPIO_ACTIVE_/' arch/arm/boot/dts/rk* sed -i -e 's/ 1 GPIO_ACTIVE_/ RK_PA1 GPIO_ACTIVE_/' arch/arm/boot/dts/rk* sed -i -e 's/ 2 GPIO_ACTIVE_/ RK_PA2 GPIO_ACTIVE_/' arch/arm/boot/dts/rk* ....... ....... sed -i -e 's/ 30 GPIO_ACTIVE_/ RK_PD6 GPIO_ACTIVE_/' arch/arm/boot/dts/rk* sed -i -e 's/ 31 GPIO_ACTIVE_/ RK_PD7 GPIO_ACTIVE_/' arch/arm/boot/dts/rk* Tested with: for i in dts-old/*dtb; do scripts/dtc/dtx_diff $i dts-new/$(basename $i); done Signed-off-by: Andy Yan <andy.yan@rock-chips.com> [also adapted the gpio interrupts] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions