clk: meson: meson8b: Fix the polarity of the RESET_N lines
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 17 Apr 2020 18:41:25 +0000 (20:41 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Wed, 29 Apr 2020 08:26:53 +0000 (10:26 +0200)
commit0d3051c790ed2ef6bd91b92b07220313f06b95b3
tree21b9d75c000618066474a67d8d07eb096e3dd753
parentda1978ac3d6cf278dedf5edbf350445a0fff2f08
clk: meson: meson8b: Fix the polarity of the RESET_N lines

CLKC_RESET_VID_DIVIDER_CNTL_RESET_N_POST and
CLKC_RESET_VID_DIVIDER_CNTL_RESET_N_PRE are active low. This means:
- asserting them requires setting the register value to 0
- de-asserting them requires setting the register value to 1

Set the register value accordingly for these two reset lines by setting
the inverted the register value compared to all other reset lines.

Fixes: 189621726bc2f6 ("clk: meson: meson8b: register the built-in reset controller")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200417184127.1319871-3-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c