In others board we have the sata led set to funcion with the sata led trigger
by default.
This patch makes the same for these board that have sata led but disabled by
not associating it to any trigger
Signed-off-by: Ansuel Smith <ansuels...@gmail.com>
---
arch/arm/boot/dts/armada-385-l
In others board we have the sata led set to funcion
with the sata led trigger by default.
This patch makes the same for these board that have sata
led but get disabled by not associating it to any trigger.
Signed-off-by: Ansuel Smith <ansuels...@gmail.com>
---
arch/arm/boot/dts/arma
This patch add support for 2 Linksys router model
(shelby and rango). With this we now support all
the mvebu board on the market.
Signed-off-by: Imre Kaloz <ka...@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Signed-off-by: Ansuel Smith <ansuels...@gmail
phandle
v2:
* Fix dt-bindings problems
Ansuel Smith (8):
drivers: thermal: tsens: Add VER_0 tsens version
drivers: thermal: tsens: Don't hardcode sensor slope
drivers: thermal: tsens: Convert msm8960 to reg_field
drivers: thermal: tsens: Use init_common for msm8960
drivers: thermal
Use init_common and drop custom init for msm8960.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 52 +--
1 file changed, 1 insertion(+), 51 deletions(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
index
It's present a hardware bug in tsens VER_0 where if sensors upper to id
6 are enabled selectively, underfined results are expected. Fix this by
enabling all the remaining sensor in one step.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 19 +--
1 file
Document the use of bindings used for msm8960 tsens based devices.
msm8960 use the same gcc regs and is set as a child of the qcom gcc.
Signed-off-by: Ansuel Smith
---
.../bindings/thermal/qcom-tsens.yaml | 56 ---
1 file changed, 48 insertions(+), 8 deletions(-)
diff
Add support for tsens present in ipq806x SoCs based on generic msm8960
tsens driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c
index dd9b41157894..586b90962605
Rework calibrate function to use common function. Derive the offset from
a missing hardcoded slope table and the data from the nvmem calib
efuses.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 56 +--
1 file changed, 15 insertions(+), 41
Convert msm9860 driver to reg_field to use the init_common
function.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 80 ++-
1 file changed, 79 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom
Function compute_intercept_slope hardcode the sensor slope to
SLOPE_DEFAULT. Change this and use the default value only if a slope is
not defined. This is needed for tsens VER_0 that has a hardcoded slope
table.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 ++-
1 file
VER_0 is used to describe device based on tsens version before v0.1.
These device are devices based on msm8960 for example apq8064 or
ipq806x.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 171 +--
drivers/thermal/qcom/tsens.h | 4 +-
2 files
Function compute_intercept_slope hardcode the sensor slope to
SLOPE_DEFAULT. Change this and use the default value only if a slope is
not defined. This is needed for tsens VER_0 that has a hardcoded slope
table.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 ++-
1 file
Document the use of bindings used for msm8960 tsens based devices.
msm8960 use the same gcc regs and is set as a child of the qcom gcc.
Signed-off-by: Ansuel Smith
---
.../bindings/thermal/qcom-tsens.yaml | 75 ---
1 file changed, 65 insertions(+), 10 deletions(-)
diff
Ansuel Smith (8):
drivers: thermal: tsens: Add VER_0 tsens version
drivers: thermal: tsens: Don't hardcode sensor slope
drivers: thermal: tsens: Convert msm8960 to reg_field
drivers: thermal: tsens: Use init_common for msm8960
drivers: thermal: tsens: Fix bug in sensor enable for msm8960
Add support for tsens present in ipq806x SoCs based on generic msm8960
tsens driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c
index dd9b41157894..586b90962605
VER_0 is used to describe device based on tsens version before v0.1.
These device are devices based on msm8960 for example apq8064 or
ipq806x.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 171 +--
drivers/thermal/qcom/tsens.h | 4 +-
2 files
Use init_common and drop custom init for msm8960.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 52 +--
1 file changed, 1 insertion(+), 51 deletions(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
index
Rework calibrate function to use common function. Derive the offset from
a missing hardcoded slope table and the data from the nvmem calib
efuses.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 56 +--
1 file changed, 15 insertions(+), 41
Convert msm9860 driver to reg_field to use the init_common
function.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 80 ++-
1 file changed, 79 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom
It's present a hardware bug in tsens VER_0 where if sensors upper to id
6 are enabled selectively, underfined results are expected. Fix this by
enabling all the remaining sensor in one step.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 19 +--
1 file
Document dedicated Krait CPU Cache Scaling driver.
Signed-off-by: Ansuel Smith
---
.../bindings/cpufreq/krait-cache-scale.yaml | 89 +++
1 file changed, 89 insertions(+)
create mode 100644
Documentation/devicetree/bindings/cpufreq/krait-cache-scale.yaml
diff --git
the cache
scaling logic but i still don't know what is better. Have a very similar driver
or
add a dedicated driver only for the cache using the cpufreq notifier and do the
scale on every freq transition.
Thanks to everyone who will review or answer these questions.
Ansuel Smith (2):
cpufreq
. If provided this also scale the voltage of the regulator
attached to the CPU cache. The scaling logic is based on the CPU freq
and the 3 scaling interval are set by the device dts.
Signed-off-by: Ansuel Smith
---
drivers/cpufreq/Kconfig.arm | 9 ++
drivers/cpufreq/Makefile | 1 +
drivers
. If provided this also scale the voltage of the regulator
attached to the CPU cache. The scaling logic is based on the CPU freq
and the 3 scaling interval are set by the device dts.
Signed-off-by: Ansuel Smith
---
v2:
* Change cpu-freq to qcom,cpu-freq
* Skip freq change if prev is the same target freq
Document dedicated L2 Krait CPU Cache devfreq scaling driver.
Signed-off-by: Ansuel Smith
---
v2:
* Fix problems reported by Rob
* Update example to use opp v2
* Drop unused voltage-tollerance
* Better describe scaling thresholds
* Add bindings to describe Krait L2-Cache
.../bindings/arm/qcom
Qsdk U-Boot can incorrectly leave the PCIe interface in an undefined
state if bootm command is used instead of bootipq. This is caused by the
not deinit of PCIe when bootm is called. Reset the PCIe before init
anyway to fix this U-Boot bug.
Signed-off-by: Ansuel Smith
Fixes: 82a823833f4e (&quo
' tag. The subpartition must have the
'nvmem-provider' tag or the subpartition will not register the cell to
the nvmem api.
Signed-off-by: Ansuel Smith
---
.../devicetree/bindings/mtd/partition.txt | 59 +++
1 file changed, 59 insertions(+)
diff --git a/Documentation
Introduce 2 new bindings for the mtd structure.
Mtd partitions can be set as 'nvmem-provider' and any subpartition defined
with the tag 'nvmem-cell' are skipped by the 'fixed-partitions' parser
and registred as a nvmem cell by the nvmem api.
Signed-off-by: Ansuel Smith
---
drivers/mtd/mtdcore.c
d to get mac-address
and other nvmem data.
[1] https://lore.kernel.org/patchwork/patch/765435/
Ansuel Smith (4):
mtd: Add nvmem support for mtd nvmem-providers
dt-bindings: mtd: partition: Document use of nvmem-provider
of_net: add mac-address-increment support
dt-bindings: net: Documen
partition and increments it by one for the
wifi. mac-address-increment-byte bindings is used to tell what byte of
the mac-address has to be increased (if not defined the last byte is
increased) and mac-address-increment tells how much the byte decided
early has to be increased.
Signed-off-by: Ansuel
.
- mac-address-increment-byte is used to tell what byte must be
incremented (if not set the last byte is increased)
- mac-address-increment is used to tell how much to increment of the
extracted mac-address decided byte.
Signed-off-by: Ansuel Smith
---
.../bindings/net/ethernet
d to get mac-address
and other nvmem data.
[1] https://lore.kernel.org/patchwork/patch/765435/
Changes:
v2:
* Fix compile error (missing mtd_node in mtdcore)
Ansuel Smith (4):
mtd: Add nvmem support for mtd nvmem-providers
dt-bindings: mtd: partition: Document use of nvmem-provider
of_
partition and increments it by one for the
wifi. mac-address-increment-byte bindings is used to tell what byte of
the mac-address has to be increased (if not defined the last byte is
increased) and mac-address-increment tells how much the byte decided
early has to be increased.
Signed-off-by: Ansuel
.
- mac-address-increment-byte is used to tell what byte must be
incremented (if not set the last byte is increased)
- mac-address-increment is used to tell how much to increment of the
extracted mac-address decided byte.
Signed-off-by: Ansuel Smith
---
.../bindings/net/ethernet
' tag. The subpartition must have the
'nvmem-provider' tag or the subpartition will not register the cell to
the nvmem api.
Signed-off-by: Ansuel Smith
---
.../devicetree/bindings/mtd/partition.txt | 59 +++
1 file changed, 59 insertions(+)
diff --git a/Documentation
Introduce 2 new bindings for the mtd structure.
Mtd partitions can be set as 'nvmem-provider' and any subpartition defined
with the tag 'nvmem-cell' are skipped by the 'fixed-partitions' parser
and registred as a nvmem cell by the nvmem api.
Signed-off-by: Ansuel Smith
---
drivers/mtd/mtdcore.c
Introduce 2 new bindings for the mtd structure.
Mtd partitions can be set as 'nvmem-provider' and any subpartition defined
with the tag 'nvmem-cell' are skipped by the 'fixed-partitions' parser
and registred as a nvmem cell by the nvmem api.
Signed-off-by: Ansuel Smith
---
drivers/mtd/mtdcore.c
' tag. The subpartition must have the
'nvmem-provider' tag or the subpartition will not register the cell to
the nvmem api.
Signed-off-by: Ansuel Smith
---
.../devicetree/bindings/mtd/partition.txt | 59 +++
1 file changed, 59 insertions(+)
diff --git a/Documentation
d to get mac-address
and other nvmem data.
[1] https://lore.kernel.org/patchwork/patch/765435/
Changes:
v3:
* Fix const discard warning in of_net.c
* Add some info about overflow/underflow of mac-increment
* Limit mac-increment-bytes to the last 3 bytes
v2:
* Fix compile error (missing mtd_node in mt
partition and increments it by one for the
wifi. mac-address-increment-byte bindings is used to tell what byte of
the mac-address has to be increased (if not defined the last byte is
increased) and mac-address-increment tells how much the byte decided
early has to be increased.
Signed-off-by: Ansuel
.
- mac-address-increment-byte is used to tell what byte must be
incremented (if not set the last byte is increased)
- mac-address-increment is used to tell how much to increment of the
extracted mac-address decided byte.
Signed-off-by: Ansuel Smith
---
.../bindings/net/ethernet
Fix a compilation error as PF_KTHREAD is defined in linux/sched.h and
this is missing.
Fixes: df325e05a682 ("arm64: Validate tagged addresses in access_ok()
called from kernel threads")
Signed-off-by: Ansuel Smith
---
arch/arm64/include/asm/uaccess.h | 2 ++
1 file changed, 2
On Sun, Nov 29, 2020 at 06:28:01PM +0530, Amit Kucheria wrote:
> On Thu, Nov 26, 2020 at 2:16 AM Ansuel Smith wrote:
>
> > > > };
> > > > @@ -441,6 +442,10 @@ enum regfield_ids {
> > > > CRIT_THRESH_14,
> > > > CRIT_THRE
On Mon, Nov 23, 2020 at 01:35:22AM +0530, Amit Kucheria wrote:
> Hi Ansuel,
>
> See comments inline.
>
> On Fri, Aug 14, 2020 at 7:12 PM Ansuel Smith wrote:
> >
> > VER_0 is used to describe device based on tsens version before v0.1.
> > These device are dev
Function compute_intercept_slope hardcode the sensor slope to
SLOPE_DEFAULT. Change this and use the default value only if a slope is
not defined. This is needed for tsens VER_0 that has a hardcoded slope
table.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 ++-
1 file
Use init_common and drop custom init for msm8960.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 52 +--
1 file changed, 1 insertion(+), 51 deletions(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
index
Document the use of bindings used for msm8960 tsens based devices.
msm8960 use the same gcc regs and is set as a child of the qcom gcc.
Signed-off-by: Ansuel Smith
---
.../bindings/thermal/qcom-tsens.yaml | 103 ++
1 file changed, 79 insertions(+), 24 deletions(-)
diff
Add support for tsens present in ipq806x SoCs based on generic msm8960
tsens driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c
index 80551e17cdbe..cd89492385c7
VER_0 is used to describe device based on tsens version before v0.1.
These device are devices based on msm8960 for example apq8064 or
ipq806x.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 166 +--
drivers/thermal/qcom/tsens.h | 8 +-
2 files
bad get_temp function
* Add missing hardcoded slope
v4:
* Fix compilation error and warning reported by the bot
v3:
* Change driver to register as child instead of use phandle
v2:
* Fix dt-bindings problems
Ansuel Smith (8):
drivers: thermal: tsens: Add VER_0 tsens version
drivers: thermal
Convert msm9860 driver to reg_field to use the init_common
function.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 75 ++-
1 file changed, 74 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom
It's present a hardware bug in tsens VER_0 where if sensors upper to id
6 are enabled selectively, underfined results are expected. Fix this by
enabling all the remaining sensor in one step.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 19 +--
1 file
Rework calibrate function to use common function. Derive the offset from
a missing hardcoded slope table and the data from the nvmem calib
efuses.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 56 +--
1 file changed, 15 insertions(+), 41
* Update documentation
v2:
* Fix Documentation error reported by bot
* Rework code to fail probe on missing required params
* Optimize notifier callback to reduce CPU cycle
Ansuel Smith (2):
cpufreq: qcom: Add Krait Cache Scaling support
dt-bindings: cpufreq: Document Krait CPU Cache scaling
. If provided this also scale the voltage of the regulator
attached to the CPU cache. The scaling logic is based on the CPU freq
and the 3 scaling interval are set by the device dts.
Signed-off-by: Ansuel Smith
---
drivers/cpufreq/Kconfig.arm | 9 ++
drivers/cpufreq/Makefile | 1 +
drivers
Document dedicated Krait CPU Cache Scaling driver.
Signed-off-by: Ansuel Smith
---
.../bindings/cpufreq/krait-cache-scale.yaml | 79 +++
1 file changed, 79 insertions(+)
create mode 100644
Documentation/devicetree/bindings/cpufreq/krait-cache-scale.yaml
diff --git
reported by bot
* Rework code to fail probe on missing required params
* Optimize notifier callback to reduce CPU cycle
Ansuel Smith (2):
cpufreq: qcom: Add Krait Cache Scaling support
dt-bindings: cpufreq: Document Krait CPU Cache scaling
.../bindings/cpufreq/krait-cache-scale.yaml | 92
. If provided this also scale the voltage of the regulator
attached to the CPU cache. The scaling logic is based on the CPU freq
and the 3 scaling interval are set by the device dts.
Signed-off-by: Ansuel Smith
---
drivers/cpufreq/Kconfig.arm | 9 ++
drivers/cpufreq/Makefile | 1 +
drivers
Document dedicated Krait CPU Cache Scaling driver.
Signed-off-by: Ansuel Smith
---
.../bindings/cpufreq/krait-cache-scale.yaml | 92 +++
1 file changed, 92 insertions(+)
create mode 100644
Documentation/devicetree/bindings/cpufreq/krait-cache-scale.yaml
diff --git
msm8960 based tsens have an hardcoded slope. Fix the calibrate function
with the new added slope, change code_to_mdegC to use slope and conver
get_temp to use reg_field.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 43 +++
1 file changed, 32
Follow standard naming for calib secondary rom and change calib_backup
to tsens_calsel.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
Add support for tsens present in ipq806x SoCs based on generic msm8960
tsens driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c
index 965c4799918a..d571a6ddd914
Use the driver get_temp function instead of force to use the generic get
temp function. This is needed as tsens v0 version use a custom function
to get the real temperature.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions
Use init_common and drop custom init for msm8960.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 53 +--
1 file changed, 1 insertion(+), 52 deletions(-)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
index
Document the use of bindings used for msm8960 tsens based devices.
msm8960 use the same gcc regs and is set as a child of the qcom gcc.
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
.../bindings/thermal/qcom-tsens.yaml | 50 ---
1 file changed, 43 insertions
VER_0 is used to describe device based on tsens version before v0.1.
These device are devices based on msm8960 for example apq8064 or
ipq806x.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 122 +++
drivers/thermal/qcom/tsens.h | 7 +-
2 files
instead of use phandle
v2:
* Fix dt-bindings problems
Ansuel Smith (8):
drivers: thermal: tsens: use get_temp for tsens_valid
drivers: thermal: tsens: Add VER_0 tsens version
drivers: thermal: tsens: Convert msm8960 to reg_field
drivers: thermal: tsens: Use init_common for msm8960
drivers
Convert msm9860 driver to reg_field to use the init_common
function.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 74 +++
1 file changed, 74 insertions(+)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers/thermal/qcom/tsens-8960.c
to everything else.
Tested-on: QCA9984 hw1.0 PCI 10.4
Signed-off-by: Ansuel Smith
---
drivers/net/wireless/ath/ath10k/core.c | 74 ++
drivers/net/wireless/ath/ath10k/core.h | 3 ++
2 files changed, 77 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/core.c
b
Document use of qcom,ath10k-pre-calibration-data-mtd bindings used to
define from where the driver will load the pre-cal data in the defined
mtd partition.
Signed-off-by: Ansuel Smith
---
.../devicetree/bindings/net/wireless/qcom,ath10k.txt | 12 +---
1 file changed, 9 insertions(+), 3
to everything else.
Tested-on: QCA9984 hw1.0 PCI 10.4
Signed-off-by: Ansuel Smith
---
v2:
* Fix missing condition for cal_mode in transposing source to ath repo
drivers/net/wireless/ath/ath10k/core.c | 80 +-
drivers/net/wireless/ath/ath10k/core.h | 3 +
2 files changed, 81
Document use of qcom,ath10k-pre-calibration-data-mtd bindings used to
define from where the driver will load the pre-cal data in the defined
mtd partition.
Signed-off-by: Ansuel Smith
---
.../devicetree/bindings/net/wireless/qcom,ath10k.txt | 12 +---
1 file changed, 9 insertions(+), 3
Document dedicated L2 Krait CPU Cache devfreq scaling driver.
Signed-off-by: Ansuel Smith
---
.../bindings/devfreq/krait-cache-devfreq.yaml | 77 +++
1 file changed, 77 insertions(+)
create mode 100644
Documentation/devicetree/bindings/devfreq/krait-cache-devfreq.yaml
diff
. If provided this also scale the voltage of the regulator
attached to the CPU cache. The scaling logic is based on the CPU freq
and the 3 scaling interval are set by the device dts.
Signed-off-by: Ansuel Smith
---
drivers/devfreq/Kconfig | 10 +
drivers/devfreq/Makefile | 1
-address defined in the dts have priority than any other address found.
Tested-on: QCA9984 hw1.0 PCI 10.4
Signed-off-by: Ansuel Smith
---
drivers/net/wireless/ath/ath10k/core.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/core.c
b/drivers/net
.
Tested-on: QCA9984 hw1.0 PCI 10.4
Signed-off-by: Ansuel Smith
---
drivers/net/wireless/ath/ath10k/core.c | 52 +-
drivers/net/wireless/ath/ath10k/core.h | 3 ++
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/core.c
b
Signed-off-by: Ilia Mirkin
Signed-off-by: Ansuel Smith
Cc: sta...@vger.kernel.org # v4.19+
---
drivers/pci/controller/dwc/pcie-qcom.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c
b/drivers/pci/controller/dwc/pcie-qcom.c
index 3a
Document ext reset used in ipq8064 SoC by qcom PCIe driver.
Signed-off-by: Ansuel Smith
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
b
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
drivers/pci/controller/dwc/pcie-qcom.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c
b/drivers/pci/controller/dwc/pcie-qcom.c
index 259b627bf890..0ce15d53c46e 100644
--- a/drivers
Rework 2.1.0 revision to use bulk clk api and fix missing assert on
reset_control_deassert error.
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
drivers/pci/controller/dwc/pcie-qcom.c | 131 +
1 file changed, 46 insertions(+), 85 deletions(-)
diff --git
revision of ipq8064
Abhishek Sahu (1):
PCI: qcom: Change duplicate PCI reset to phy reset
Ansuel Smith (9):
PCI: qcom: Add missing ipq806x clocks in PCIe driver
dt-bindings: PCI: qcom: Add missing clks
PCI: qcom: Add missing reset for ipq806x
dt-bindings: PCI: qcom: Add ext reset
PCI: qcom
Document qcom,pcie-ipq8064-v2 needed to use different phy_tx0_term_offset.
In ipq8064 phy_tx0_term_offset is 7. In ipq8064 v2 other SoC it's set to 0
by default.
Signed-off-by: Ansuel Smith
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 1 +
1 file changed, 1
Document missing clks used in ipq8064 SoC.
Signed-off-by: Ansuel Smith
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
b/Documentation
Add tx term offset support to pcie qcom driver need in some revision of
the ipq806x SoC. Ipq8064 needs tx term offset set to 7.
Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
Cc: sta...@vger.kernel.
Ipq8064-v2 have tx term offset set to 0. Introduce this variant to permit
different offset based on the revision.
Signed-off-by: Ansuel Smith
---
drivers/pci/controller/dwc/pcie-qcom.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c
Set some specific value for Tx De-Emphasis, Tx Swing and Rx equalization
needed on some ipq8064 based device (Netgear R7800 for example). Without
this the system locks on kernel load.
Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Ansuel Smit
From: Abhishek Sahu
The deinit issues reset_control_assert for PCI twice and does not contain
phy reset.
Signed-off-by: Abhishek Sahu
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
drivers/pci/controller/dwc/pcie-qcom.c | 18 --
1 file changed, 8 insertions(+), 10
Aux and Ref clk are missing in PCIe qcom driver. Add support for this
optional clks for ipq8064/apq8064 SoC.
Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
drivers/pci/cont
Add missing ext reset used by ipq8064 SoC in PCIe qcom driver.
Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver")
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
Cc: sta...@vger.kernel.org # v4.5+
Reviewed-by: Rob Herring
Reviewed-by: Philipp Zabel
--
Document dwc3 qcom phy hs and ss phy bindings needed to correctly
inizialize and use usb on ipq806x SoC.
Signed-off-by: Ansuel Smith
---
v5:
* Fix dt_binding_check error
v4:
* Add qcom to specific bindings
v3:
* Use explicit reg instead of regmap
.../bindings/phy/qcom,ipq806x-usb-phy-hs.yaml
This has lost in the original push for the dwc3 qcom driver.
This is needed for ipq806x SoC as without this the usb ports
doesn't work at all.
Signed-off-by: Andy Gross
Signed-off-by: Ansuel Smith
---
v4:
* Add qcom to specific bindings
v3:
* Use reg instead of regmap phandle
v2:
* Renamed
This has lost in the original push for the dwc3 qcom driver.
This is needed for ipq806x SoC as without this the usb ports
doesn't work at all.
Signed-off-by: Andy Gross
Signed-off-by: Ansuel Smith
---
v4:
* Add qcom to specific bindings
v3:
* Use reg instead of regmap phandle
v2:
* Renamed
Document dwc3 qcom phy hs and ss phy bindings needed to correctly
inizialize and use usb on ipq806x SoC.
Signed-off-by: Ansuel Smith
---
v4:
* Add qcom to specific bindings
v3:
* Use explicit reg instead of regmap
.../bindings/phy/qcom,ipq806x-usb-phy-hs.yaml | 58 +++
.../bindings
custom definition
* Drop MRRS to 256B (Can't find a realy reason why this was suggested)
* Introduce a new variant for different revision of ipq8064
Abhishek Sahu (1):
PCI: qcom: change duplicate PCI reset to phy reset
Ansuel Smith (8):
PCI: qcom: add missing ipq806x clocks in PCIe driver
Aux and Ref clk are missing in PCIe qcom driver.
Add support in the driver to fix PCIe initialization in ipq806x.
Fixes: 82a823833f4e PCI: qcom: Add Qualcomm PCIe controller driver
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
Cc: sta...@vger.kernel.org # v4.5+
---
drivers/pci
Document missing clks used in ipq8064 soc.
Signed-off-by: Ansuel Smith
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
b/Documentation
From: Abhishek Sahu
The deinit issues reset_control_assert for PCI twice and does not contain
phy reset.
Signed-off-by: Abhishek Sahu
Signed-off-by: Ansuel Smith
---
drivers/pci/controller/dwc/pcie-qcom.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git
Document qcom,pcie-ipq8064-v2 needed to use different phy_tx0_term_offset.
In ipq8064 phy_tx0_term_offset is 7.
In ipq8064 v2 other SoC it's set to 0 by default.
Signed-off-by: Ansuel Smith
---
Documentation/devicetree/bindings/pci/qcom,pcie.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Add missing ext reset used by ipq8064 SoC in PCIe qcom driver.
Fixes: 82a823833f4e PCI: qcom: Add Qualcomm PCIe controller driver
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
Cc: sta...@vger.kernel.org # v4.5+
---
drivers/pci/controller/dwc/pcie-qcom.c | 12
1 file
1 - 100 of 304 matches
Mail list logo