Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c430daf9 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3587,7 +3587,6 @@ static const struct regmap_config gcc_apq8084_regmap_config = {
	.val_bits	= 32,
	.max_register	= 0x1fc0,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

static const struct qcom_cc_desc gcc_apq8084_desc = {
+0 −1
Original line number Diff line number Diff line
@@ -3005,7 +3005,6 @@ static const struct regmap_config gcc_ipq806x_regmap_config = {
	.val_bits	= 32,
	.max_register	= 0x3e40,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

static const struct qcom_cc_desc gcc_ipq806x_desc = {
+0 −1
Original line number Diff line number Diff line
@@ -2702,7 +2702,6 @@ static const struct regmap_config gcc_msm8660_regmap_config = {
	.val_bits	= 32,
	.max_register	= 0x363c,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

static const struct qcom_cc_desc gcc_msm8660_desc = {
+0 −1
Original line number Diff line number Diff line
@@ -3336,7 +3336,6 @@ static const struct regmap_config gcc_msm8916_regmap_config = {
	.val_bits	= 32,
	.max_register	= 0x80000,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

static const struct qcom_cc_desc gcc_msm8916_desc = {
+0 −2
Original line number Diff line number Diff line
@@ -3468,7 +3468,6 @@ static const struct regmap_config gcc_msm8960_regmap_config = {
	.val_bits	= 32,
	.max_register	= 0x3660,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

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,
	.max_register	= 0x3880,
	.fast_io	= true,
	.val_format_endian = REGMAP_ENDIAN_LITTLE,
};

static const struct qcom_cc_desc gcc_msm8960_desc = {
Loading