Commit c430daf9 authored by Stephen Boyd's avatar Stephen Boyd

Revert "clk: qcom: Specify LE device endianness"

This reverts commit 329cabce.

The commit that caused us to specify LE device endianness here,
29bb45f2 (regmap-mmio: Use native endianness for read/write,
2015-10-29), has been reverted in mainline so now when we specify
LE it actively breaks big endian kernels because the byte
swapping in regmap-mmio is incorrect. Let's revert this change
because it will 1) fix the big endian kernels and 2) be redundant
to specify LE because that will become the default soon.

Cc: Kevin Hilman <khilman@linaro.org>
Tested-by: default avatarKevin Hilman <khilman@baylibre.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent df9cd564
...@@ -3587,7 +3587,6 @@ static const struct regmap_config gcc_apq8084_regmap_config = { ...@@ -3587,7 +3587,6 @@ static const struct regmap_config gcc_apq8084_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x1fc0, .max_register = 0x1fc0,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_apq8084_desc = { static const struct qcom_cc_desc gcc_apq8084_desc = {
......
...@@ -3005,7 +3005,6 @@ static const struct regmap_config gcc_ipq806x_regmap_config = { ...@@ -3005,7 +3005,6 @@ static const struct regmap_config gcc_ipq806x_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x3e40, .max_register = 0x3e40,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_ipq806x_desc = { static const struct qcom_cc_desc gcc_ipq806x_desc = {
......
...@@ -2702,7 +2702,6 @@ static const struct regmap_config gcc_msm8660_regmap_config = { ...@@ -2702,7 +2702,6 @@ static const struct regmap_config gcc_msm8660_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x363c, .max_register = 0x363c,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_msm8660_desc = { static const struct qcom_cc_desc gcc_msm8660_desc = {
......
...@@ -3336,7 +3336,6 @@ static const struct regmap_config gcc_msm8916_regmap_config = { ...@@ -3336,7 +3336,6 @@ static const struct regmap_config gcc_msm8916_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x80000, .max_register = 0x80000,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_msm8916_desc = { static const struct qcom_cc_desc gcc_msm8916_desc = {
......
...@@ -3468,7 +3468,6 @@ static const struct regmap_config gcc_msm8960_regmap_config = { ...@@ -3468,7 +3468,6 @@ static const struct regmap_config gcc_msm8960_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x3660, .max_register = 0x3660,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct regmap_config gcc_apq8064_regmap_config = { static const struct regmap_config gcc_apq8064_regmap_config = {
...@@ -3477,7 +3476,6 @@ static const struct regmap_config gcc_apq8064_regmap_config = { ...@@ -3477,7 +3476,6 @@ static const struct regmap_config gcc_apq8064_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x3880, .max_register = 0x3880,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_msm8960_desc = { static const struct qcom_cc_desc gcc_msm8960_desc = {
......
...@@ -2680,7 +2680,6 @@ static const struct regmap_config gcc_msm8974_regmap_config = { ...@@ -2680,7 +2680,6 @@ static const struct regmap_config gcc_msm8974_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x1fc0, .max_register = 0x1fc0,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc gcc_msm8974_desc = { static const struct qcom_cc_desc gcc_msm8974_desc = {
......
...@@ -419,7 +419,6 @@ static const struct regmap_config lcc_ipq806x_regmap_config = { ...@@ -419,7 +419,6 @@ static const struct regmap_config lcc_ipq806x_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0xfc, .max_register = 0xfc,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc lcc_ipq806x_desc = { static const struct qcom_cc_desc lcc_ipq806x_desc = {
......
...@@ -524,7 +524,6 @@ static const struct regmap_config lcc_msm8960_regmap_config = { ...@@ -524,7 +524,6 @@ static const struct regmap_config lcc_msm8960_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0xfc, .max_register = 0xfc,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc lcc_msm8960_desc = { static const struct qcom_cc_desc lcc_msm8960_desc = {
......
...@@ -3368,7 +3368,6 @@ static const struct regmap_config mmcc_apq8084_regmap_config = { ...@@ -3368,7 +3368,6 @@ static const struct regmap_config mmcc_apq8084_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x5104, .max_register = 0x5104,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc mmcc_apq8084_desc = { static const struct qcom_cc_desc mmcc_apq8084_desc = {
......
...@@ -3029,7 +3029,6 @@ static const struct regmap_config mmcc_msm8960_regmap_config = { ...@@ -3029,7 +3029,6 @@ static const struct regmap_config mmcc_msm8960_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x334, .max_register = 0x334,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct regmap_config mmcc_apq8064_regmap_config = { static const struct regmap_config mmcc_apq8064_regmap_config = {
...@@ -3038,7 +3037,6 @@ static const struct regmap_config mmcc_apq8064_regmap_config = { ...@@ -3038,7 +3037,6 @@ static const struct regmap_config mmcc_apq8064_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x350, .max_register = 0x350,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc mmcc_msm8960_desc = { static const struct qcom_cc_desc mmcc_msm8960_desc = {
......
...@@ -2594,7 +2594,6 @@ static const struct regmap_config mmcc_msm8974_regmap_config = { ...@@ -2594,7 +2594,6 @@ static const struct regmap_config mmcc_msm8974_regmap_config = {
.val_bits = 32, .val_bits = 32,
.max_register = 0x5104, .max_register = 0x5104,
.fast_io = true, .fast_io = true,
.val_format_endian = REGMAP_ENDIAN_LITTLE,
}; };
static const struct qcom_cc_desc mmcc_msm8974_desc = { static const struct qcom_cc_desc mmcc_msm8974_desc = {
......
Markdown is supported
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