Skip to content
Commit e38a9a43 authored by Stefan Wahren's avatar Stefan Wahren Committed by Linus Walleij
Browse files

pinctrl: bcm2835: Add support for BCM2711 pull-up functionality



The BCM2711 has a new way of selecting the pull-up/pull-down setting
for a GPIO pin. The registers used for the BCM2835, GP_PUD and
GP_PUDCLKn0, are no longer connected. A new set of registers,
GP_GPIO_PUP_PDN_CNTRL_REGx must be used. This commit will add
a new compatible string "brcm,bcm2711-gpio" and the kernel
driver will use it to select which method is used to select
pull-up/pull-down.

This patch based on a patch by Al Cooper which was intended for the
BCM7211. This is a bugfixed and improved version.

Signed-off-by: default avatarStefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/1563776607-8368-3-git-send-email-wahrenst@gmx.net


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9cd6237d
  • mirror @mirror

    mentioned in commit 73bec746020ce4b62cb413763634044e65d27510

    ·

    mentioned in commit 73bec746020ce4b62cb413763634044e65d27510

    Toggle commit list
  • mirror @mirror

    mentioned in commit f5d7ecdbbd2a236edcd052d452c1a767c0be1745

    ·

    mentioned in commit f5d7ecdbbd2a236edcd052d452c1a767c0be1745

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0cb668c31efcedd5eaed45baf82c998f60b4bd50

    ·

    mentioned in commit 0cb668c31efcedd5eaed45baf82c998f60b4bd50

    Toggle commit list
  • mirror @mirror

    mentioned in commit 5f84f13d

    ·

    mentioned in commit 5f84f13d

    Toggle commit list
  • mirror @mirror

    mentioned in commit e377810bd71c18358c526a064d158f70f4637c8f

    ·

    mentioned in commit e377810bd71c18358c526a064d158f70f4637c8f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 33045e2d5905075fd66c84f54707f5a80ff94aa1

    ·

    mentioned in commit 33045e2d5905075fd66c84f54707f5a80ff94aa1

    Toggle commit list
  • mirror @mirror

    mentioned in commit 32321654ac19972b27cb82b0b188f38a34d56bc6

    ·

    mentioned in commit 32321654ac19972b27cb82b0b188f38a34d56bc6

    Toggle commit list
  • mirror @mirror

    mentioned in commit 99bdccad85c4be7dae1a0947e243937bf3d498c7

    ·

    mentioned in commit 99bdccad85c4be7dae1a0947e243937bf3d498c7

    Toggle commit list
  • mirror @mirror

    mentioned in commit 01b04a86ee85f1e0c4d345b67ddb8a32b1491f01

    ·

    mentioned in commit 01b04a86ee85f1e0c4d345b67ddb8a32b1491f01

    Toggle commit list
  • mirror @mirror

    mentioned in commit b62fa8cd

    ·

    mentioned in commit b62fa8cd

    Toggle commit list
  • mirror @mirror

    mentioned in commit b30a320c

    ·

    mentioned in commit b30a320c

    Toggle commit list
  • mirror @mirror

    mentioned in commit 3df677f3

    ·

    mentioned in commit 3df677f3

    Toggle commit list
  • mirror @mirror

    mentioned in commit 356d2f40757ed46a7534a329312a411436b1ad90

    ·

    mentioned in commit 356d2f40757ed46a7534a329312a411436b1ad90

    Toggle commit list
  • mirror @mirror

    mentioned in commit b59e653c389cb6e6cff9b14671701d00b3b90ed8

    ·

    mentioned in commit b59e653c389cb6e6cff9b14671701d00b3b90ed8

    Toggle commit list
  • mirror @mirror

    mentioned in commit ec5a310f

    ·

    mentioned in commit ec5a310f

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment