android_kernel_xiaomi_sm8450/drivers/clk/at91
Michael Grzeschik cc140c729c ARM: at91: rm9200: fix usb device clock id
[ Upstream commit 57976762428675f259339385d3324d28ee53ec02 ]

Referring to the datasheet the index 2 is the MCKUDP. When enabled, it
"Enables the automatic disable of the Master Clock of the USB Device
Port when a suspend condition occurs". We fix the index to the real UDP
id which "Enables the 48 MHz clock of the USB Device Port".

Cc: nicolas.ferre@microchip.com
Cc: ludovic.desroches@microchip.com
Cc: alexandre.belloni@bootlin.com
Cc: mturquette@baylibre.com
Cc: sboyd@kernel.org
Cc: claudiu.beznea@microchip.com
Cc: linux-clk@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: kernel@pengutronix.de
Fixes: 02ff48e4d7 ("clk: at91: add at91rm9200 pmc driver")
Fixes: 0e0e528d82 ("ARM: dts: at91: rm9200: switch to new clock bindings")
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20221114185923.1023249-2-m.grzeschik@pengutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:23:54 +01:00
..
at91rm9200.c ARM: at91: rm9200: fix usb device clock id 2022-12-08 11:23:54 +01:00
at91sam9g45.c clk: at91: drop unused at91sam9g45_pcr_layout 2020-09-22 12:44:35 -07:00
at91sam9n12.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
at91sam9rl.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
at91sam9x5.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
at91sam9260.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
clk-audio-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-generated.c clk: at91: generated: consider range when calculating best rate 2022-05-25 09:17:58 +02:00
clk-h32mx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-i2s-mux.c clk: at91: move DT compatibility code to its own file 2018-10-17 10:45:39 -07:00
clk-main.c clk: at91: clk-main: update key before writing AT91_CKGR_MOR 2020-10-13 19:59:01 -07:00
clk-master.c clk: at91: clk-master: add master clock support for SAMA7G5 2020-07-24 02:19:08 -07:00
clk-peripheral.c clk: at91: remove the checking of parent_name 2020-10-13 19:59:01 -07:00
clk-pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-plldiv.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-programmable.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
clk-sam9x60-pll.c clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL 2021-11-18 14:04:21 +01:00
clk-slow.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-smd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
clk-system.c clk: at91: replace conditional operator with double logical not 2020-07-24 02:19:08 -07:00
clk-usb.c clk: at91: usb: introduce num_parents in driver's structure 2020-02-12 15:31:47 -08:00
clk-utmi.c clk: at91: clk-utmi: add utmi support for sama7g5 2020-07-24 02:19:08 -07:00
dt-compat.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
Makefile clk: at91: sama7g5: add clock support for sama7g5 2020-07-24 02:19:09 -07:00
pmc.c clk: at91: check pmc node status before registering syscore ops 2021-11-18 14:04:17 +01:00
pmc.h clk: at91: clk-utmi: add utmi support for sama7g5 2020-07-24 02:19:08 -07:00
sam9x60.c clk: at91: sam9x60: remove atmel,osc-bypass support 2020-12-30 11:54:01 +01:00
sama5d2.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
sama5d3.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
sama5d4.c clk: at91: clk-programmable: add mux_table option 2020-07-24 02:19:08 -07:00
sama7g5.c clk: at91: sama7g5: fix parents of PDMCs' GCLK 2022-04-08 14:40:25 +02:00
sckc.c clk: at91: sckc: register slow_rc with accuracy option 2020-07-24 02:19:08 -07:00