Commit 6a05d862 authored by Stephen Boyd's avatar Stephen Boyd

Merge branch 'clk-fixes' into clk-next

* clk-fixes:
  clk: gpio: Really allow an optional clock= DT property
  Revert "clk: qcom: Specify LE device endianness"
parents fb4dd222 4462b4bb
...@@ -212,7 +212,7 @@ static int gpio_clk_driver_probe(struct platform_device *pdev) ...@@ -212,7 +212,7 @@ static int gpio_clk_driver_probe(struct platform_device *pdev)
num_parents = of_clk_get_parent_count(node); num_parents = of_clk_get_parent_count(node);
if (num_parents < 0) if (num_parents < 0)
return -EINVAL; num_parents = 0;
if (num_parents) { if (num_parents) {
parent_names = devm_kcalloc(&pdev->dev, num_parents, parent_names = devm_kcalloc(&pdev->dev, num_parents,
......
...@@ -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 = {
......
...@@ -3354,7 +3354,6 @@ static const struct regmap_config gcc_msm8916_regmap_config = { ...@@ -3354,7 +3354,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 = {
......
...@@ -2595,7 +2595,6 @@ static const struct regmap_config mmcc_msm8974_regmap_config = { ...@@ -2595,7 +2595,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