mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
dc32d0a53c
Current upstream driver doesnt fully support ipq806x devices ipq806x has 11 sensors, the upstream one doesn't allow to check sensors 0-4, only 5-10. A specific driver for ipq806x has been found in Qualcomm SDK repo. https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?h=release/endive_preview_cc&id=c089e464cd7ce652419a0dc44d7959ce4d24b8a5 https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?h=release/endive_preview_cc&id=c23d94b702c4182862e7f5051a2b7d00bb922a29 https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?h=release/endive_preview_cc&id=742f3684b62a6b9f082cb49404b1a92dc0b16bf5 https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/commit/?h=release/endive_preview_cc&id=c0a9b2e2a382c152fa128f5b864c800dd6dfb311 Merging it into LEDE with this commit. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
From 0c974b87829e007dc4fae94e20d488204e20e662 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Thu, 9 Mar 2017 08:16:10 +0100
|
|
Subject: [PATCH 30/69] clk: Disable i2c device on gsbi4
|
|
|
|
This patch was not annotated and comes from the v4.4 tree.
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
drivers/clk/qcom/gcc-ipq806x.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/clk/qcom/gcc-ipq806x.c
|
|
+++ b/drivers/clk/qcom/gcc-ipq806x.c
|
|
@@ -294,7 +294,7 @@ static struct clk_rcg gsbi1_uart_src = {
|
|
.parent_names = gcc_pxo_pll8,
|
|
.num_parents = 2,
|
|
.ops = &clk_rcg_ops,
|
|
- .flags = CLK_SET_PARENT_GATE,
|
|
+ .flags = CLK_SET_PARENT_GATE | CLK_IGNORE_UNUSED,
|
|
},
|
|
},
|
|
};
|
|
@@ -312,7 +312,7 @@ static struct clk_branch gsbi1_uart_clk
|
|
},
|
|
.num_parents = 1,
|
|
.ops = &clk_branch_ops,
|
|
- .flags = CLK_SET_RATE_PARENT,
|
|
+ .flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
|
|
},
|
|
},
|
|
};
|
|
@@ -890,6 +890,7 @@ static struct clk_branch gsbi1_h_clk = {
|
|
.hw.init = &(struct clk_init_data){
|
|
.name = "gsbi1_h_clk",
|
|
.ops = &clk_branch_ops,
|
|
+ .flags = CLK_IGNORE_UNUSED,
|
|
},
|
|
},
|
|
};
|