Skip to content

Commit

Permalink
ARM: dts: s5pv210: Use macros for pinctrl configuration
Browse files Browse the repository at this point in the history
Usage of DTS macros instead of hard-coded numbers makes code easier
to read.  One does not have to remember which value means pull-up/down
or specific driver strength.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Acked-by: Linus Walleij <[email protected]>
  • Loading branch information
krzk committed Sep 16, 2016
1 parent 68175d5 commit 293fea6
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 239 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/s5pv210-aquila.dts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
&pinctrl0 {
t_flash_detect: t-flash-detect {
samsung,pins = "gph3-4";
samsung,pin-function = <0>;
samsung,pin-pud = <0>;
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
};
};
Loading

0 comments on commit 293fea6

Please sign in to comment.