mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
pinctrl: qcom: sc7280: Fix offset of UFS_RESET
There's no WEST, SOUTH or NORTH in sc7280 pinctrl. Fix the offset of the
ufs_reset pin.
Fixes: 51ec7fdb64 ("pinctrl: qcom: add sc7280 pinctrl driver")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250924-2025-10-misc-v1-1-7e75842ca714@fairphone.com
Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
committed by
Casey Connolly
parent
731dc5eb95
commit
e4b35d364e
@@ -10,10 +10,6 @@
|
||||
|
||||
#include "pinctrl-qcom.h"
|
||||
|
||||
#define WEST 0x00000000
|
||||
#define SOUTH 0x00400000
|
||||
#define NORTH 0x00800000
|
||||
|
||||
#define MAX_PIN_NAME_LEN 32
|
||||
static char pin_name[MAX_PIN_NAME_LEN] __section(".data");
|
||||
|
||||
@@ -47,7 +43,7 @@ static const struct pinctrl_function msm_pinctrl_functions[] = {
|
||||
}
|
||||
|
||||
static const struct msm_special_pin_data sc7280_special_pins_data[] = {
|
||||
[0] = UFS_RESET("ufs_reset", SOUTH + 0xbe000),
|
||||
[0] = UFS_RESET("ufs_reset", 0xbe000),
|
||||
[1] = SDC_PINGROUP("sdc1_rclk", 0xb3004, 0, 6),
|
||||
[2] = SDC_PINGROUP("sdc1_clk", 0xb3000, 13, 6),
|
||||
[3] = SDC_PINGROUP("sdc1_cmd", 0xb3000, 11, 3),
|
||||
|
||||
Reference in New Issue
Block a user