Signed-off-by: Ansuel Smith
---
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 ab6f1bdd24c3..f6190c954e92 100644
--- a/drivers/pci/controller/dwc/pcie
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 chang
Add tx term offset support to pcie qcom driver need in some revision of
the ipq806x SoC. Ipq8064 have tx term offset set to 7. Ipq8064-v2 revision
and ipq8065 have the tx term offset set to 0.
Signed-off-by: Sham Muthayyan
Signed-off-by: Ansuel Smith
---
drivers/pci/controller/dwc/pcie-qcom.c
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
---
drivers/pci/controller/dwc/pcie-q
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
--
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
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
Reviewed-by: Rob Herring
---
drivers/pci/controller/dwc/pcie-qcom.c | 18 --
1 file changed, 8 insertions(+), 10
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
e PCI reset to phy reset
Ansuel Smith (8):
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: Use bulk clk api and assert on error
PCI: qcom: Define some
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
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
child 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
dr
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
kin
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
ind
astructure
* 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 Cac
m. 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 +
dr
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 a
Devices based on 8060 tsens driver (ipq8064) use the reg of the gcc
driver. Permit to load the regmap from a syscon phandle instead of fail
as the reg are already used by another driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 9 +++--
1 file changed, 7
Add interrupt support for 9860 tsens driver used to set thermal trip
point for the system.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 196 +++---
drivers/thermal/qcom/tsens.h | 1 +
2 files changed, 183 insertions(+), 14 deletions(-)
diff
8960 tsens driver have a custom implementation to set set_trip function.
Permit the generic driver to use the custom function if provided.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 4
drivers/thermal/qcom/tsens.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Ipq8064 SoCs based use the same 8960 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 39c4462e38f6..2985a064a0d1 100644
--- a/drivers/thermal/qcom/tsens.c
Document the use of regmap phandle for ipq8064 SoCs
Signed-off-by: Ansuel Smith
---
.../bindings/thermal/qcom-tsens.yaml | 51 ---
1 file changed, 44 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
b/Documentation
Add custom set_trip function for 8960 needed to set trip point to the
tsens driver for 8960 driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 78 +++
1 file changed, 78 insertions(+)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers
Ipq8064 SoCs tsens driver is based on 8960 tsens driver. This patchset expand
the 8960 unused driver with interrupt support and set_trip point.
Ipq8064 needs to registed with a syscon phandle as the tsens regs on
this platform are shared with the gcc controller.
Ansuel Smith (6):
drivers
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
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 78840c1bc5d2..5eb036767e8d
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 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 (7):
drivers: thermal: tsens: Add VER_0 tsens version
drivers: thermal: tsens: Convert msm8960
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 | 50 ---
1 file changed, 43 insertions(+), 7 deletions(-)
diff
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
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
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 | 160 +++
drivers/thermal/qcom/tsens.h | 7 +-
2 files
Covert msm9860 driver to reg_filed 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
index
child instead of use phandle
v2:
* Fix dt-bindings problems
Ansuel Smith (7):
ipq806x: gcc: add support for child probe
drivers: thermal: tsens: try load regmap from parent for 8960
drivers: thermal: tsens: add ipq8064 support
dt-bindings: thermal: tsens: document ipq8064 bindings
drivers
Add interrupt support for 9860 tsens driver used to set thermal trip
point for the system.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 196 +++---
drivers/thermal/qcom/tsens.h | 1 +
2 files changed, 183 insertions(+), 14 deletions(-)
diff
Ipq8064 SoCs based use the same 8960 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 39c4462e38f6..2985a064a0d1 100644
--- a/drivers/thermal/qcom/tsens.c
Devices based on 8060 tsens driver (ipq8064) use the reg of the gcc
driver. Try to load the regmap of the parent as they share the same
regs.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a
8960 tsens driver have a custom implementation to set set_trip function.
Permit the generic driver to use the custom function if provided.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 4
drivers/thermal/qcom/tsens.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Document the use of bindings used for ipq8064 SoCs tsens.
ipq8064 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 | 50 ---
1 file changed, 43 insertions(+), 7 deletions(-)
diff --git a
Add support for child probing needed for tsens driver that share the
seme regs of gcc for this platform.
Signed-off-by: Ansuel Smith
---
drivers/clk/qcom/gcc-ipq806x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc
Add custom set_trip function for 8960 needed to set trip point to the
tsens driver for 8960 driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 78 +++
1 file changed, 78 insertions(+)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers
8960 tsens driver have a custom implementation to set set_trip function.
Permit the generic driver to use the custom function if provided.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 4
drivers/thermal/qcom/tsens.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Add custom set_trip function for 8960 needed to set trip point to the
tsens driver for 8960 driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 78 +++
1 file changed, 78 insertions(+)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers
Add interrupt support for 9860 tsens driver used to set thermal trip
point for the system.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 197 +++---
drivers/thermal/qcom/tsens.h | 3 +
2 files changed, 186 insertions(+), 14 deletions(-)
diff
Document the use of bindings used for ipq8064 SoCs tsens.
ipq8064 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 | 50 ---
1 file changed, 43 insertions(+), 7 deletions(-)
diff --git a
Devices based on 8060 tsens driver (ipq8064) use the reg of the gcc
driver. Try to load the regmap of the parent as they share the same
regs.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a
reported by the bot
v3:
* Change driver to register as child instead of use phandle
v2:
* Fix dt-bindings problems
Ansuel Smith (7):
ipq806x: gcc: add support for child probe
drivers: thermal: tsens: try load regmap from parent for 8960
drivers: thermal: tsens: add ipq8064 support
dt
Add support for child probing needed for tsens driver that share the
seme regs of gcc for this platform.
Signed-off-by: Ansuel Smith
---
drivers/clk/qcom/gcc-ipq806x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc
Ipq8064 SoCs based use the same 8960 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 39c4462e38f6..23f63dfbf13d 100644
--- a/drivers/thermal/qcom/tsens.c
Document the use of regmap phandle for ipq8064 SoCs
Signed-off-by: Ansuel Smith
---
.../bindings/thermal/qcom-tsens.yaml | 53 ---
1 file changed, 46 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
b/Documentation
Devices based on 8060 tsens driver (ipq8064) use the reg of the gcc
driver. Permit to load the regmap from a syscon phandle instead of fail
as the reg are already used by another driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 9 +++--
1 file changed, 7
8960 tsens driver have a custom implementation to set set_trip function.
Permit the generic driver to use the custom function if provided.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens.c | 4
drivers/thermal/qcom/tsens.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a
Ipq8064 SoCs based use the same 8960 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 39c4462e38f6..2985a064a0d1 100644
--- a/drivers/thermal/qcom/tsens.c
Add custom set_trip function for 8960 needed to set trip point to the
tsens driver for 8960 driver.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 78 +++
1 file changed, 78 insertions(+)
diff --git a/drivers/thermal/qcom/tsens-8960.c
b/drivers
Ansuel Smith (6):
drivers: thermal: tsens: load regmap from phandle for 8960
drivers: thermal: tsens: add ipq8064 support
dt-bindings: thermal: tsens: document ipq8064 bindings
drivers: thermal: tsens: add interrupt support for 9860 driver
drivers: thermal: tsens: add support for custom
Add interrupt support for 9860 tsens driver used to set thermal trip
point for the system.
Signed-off-by: Ansuel Smith
---
drivers/thermal/qcom/tsens-8960.c | 196 +++---
drivers/thermal/qcom/tsens.h | 1 +
2 files changed, 183 insertions(+), 14 deletions(-)
diff
Document dwc3 qcom phy hs and ss phy bindings needed to correctly
inizialize and use usb on ipq806x SoC.
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
v7:
* Drop useless AllOf
v6:
* Add maximum value
v5:
* Fix dt_binding_check error
v4:
* Add qcom to specific bindings
v3:
* Use
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
Tested-by: Jonathan McDowell
---
v9:
* Use device_property_read_u32 and skip compatible che
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
Tested-by: Jonathan McDowell
---
v10:
* Use of_device_get_match_data and remove useless mat
Document dwc3 qcom phy hs and ss phy bindings needed to correctly
inizialize and use usb on ipq806x SoC.
Signed-off-by: Ansuel Smith
Reviewed-by: Rob Herring
---
v7:
* Drop useless AllOf
v6:
* Add maximum value
v5:
* Fix dt_binding_check error
v4:
* Add qcom to specific bindings
v3:
* Use
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 Smi
#x27;nvmem-cell' 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(
, since this would remove many patch used 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:
* F
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
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
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
#x27;nvmem-cell' 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(
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 Smi
, since this would remove many patch used 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-incre
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
, since this would remove many patch used 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: partiti
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
#x27;nvmem-cell' 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(
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 Smi
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
Tested-by: Jonathan McDowell
---
v7:
* Add TestedBy tag
v6:
* Use GENMASK instead of hex val
Document dwc3 qcom phy hs and ss phy bindings needed to correctly
inizialize and use usb on ipq806x SoC.
Signed-off-by: Ansuel Smith
---
v7:
* Drop useless AllOf
v6:
* Add maximum value
v5:
* Fix dt_binding_check error
v4:
* Add qcom to specific bindings
v3:
* Use explicit reg instead of regmap
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
--
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 a
x27;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 (10):
PCI: qcom: Add missing ipq806x clocks in PCIe driver
dt-bindings: PCI: qcom: Add missing
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
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
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
: 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..c40921589122 100644
--- a/drivers/pci/controller
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 chang
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.
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
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
Lots of define are actually already defined in pci_regs.h, directly use
the standard defines.
Signed-off-by: Ansuel Smith
---
drivers/pci/controller/dwc/pcie-qcom.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c
b
201 - 300 of 301 matches
Mail list logo