slimbus: patches for 6.18
Subsystems (3)
[email protected]
maintainercover slimbus: patches for 6.18
From: Srinivas Kandagatla <[email protected]>
Here are few slimbus patches for 6.18, Could you please queue these for 6.18.
Patches include:
- remove unused controller driver along with its bindings.
- a typo fix.
- remove some redundant code.
Thanks,
Srini
Qiang Liu (1):
slimbus: messaging: Remove redundant code
Srinivas Kandagatla (1):
slimbus: qcom: remove unused qcom controller driver
Xichao Zhao (1):
slimbus: messaging: fix "transfered"->"transferred"
.../bindings/slimbus/qcom,slim.yaml | 86 -- .../devicetree/bindings/slimbus/slimbus.yaml | 13 +- drivers/slimbus/Kconfig | 7 - drivers/slimbus/Makefile | 3 - drivers/slimbus/messaging.c | 4 +- drivers/slimbus/qcom-ctrl.c | 735 ------------------ 6 files changed, 5 insertions(+), 843 deletions(-) delete mode 100644 Documentation/devicetree/bindings/slimbus/qcom,slim.yaml delete mode 100644 drivers/slimbus/qcom-ctrl.c
Signature · 1 line
2.50.0
[email protected]
maintainerPATCH 1/3 slimbus: qcom: remove unused qcom controller driver
From: Srinivas Kandagatla <[email protected]>
Qcom Slimbus controller driver is totally unused and dead code, there is no point in keeping this driver in the kernel without users.
This patch removes the driver along with device tree bindings.
--- .../bindings/slimbus/qcom,slim.yaml | 86 -- .../devicetree/bindings/slimbus/slimbus.yaml | 13 +- drivers/slimbus/Kconfig | 7 - drivers/slimbus/Makefile | 3 - drivers/slimbus/qcom-ctrl.c | 735 ------------------ 5 files changed, 4 insertions(+), 840 deletions(-) delete mode 100644 Documentation/devicetree/bindings/slimbus/qcom,slim.yaml delete mode 100644 drivers/slimbus/qcom-ctrl.c
Documentation/devicetree/bindings/slimbus/qcom,slim.yaml deleted +0 -86
@@ -1,86 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/slimbus/qcom,slim.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm SoC SLIMbus controller - -maintainers: - - Krzysztof Kozlowski <[email protected]> - - Srinivas Kandagatla <[email protected]> - -description: - SLIMbus controller used when applications processor controls SLIMbus master - component. - -allOf: - - $ref: slimbus.yaml# - -properties: - compatible: - items: - - enum: - - qcom,apq8064-slim - - const: qcom,slim - - reg: - items: - - description: Physical address of controller register blocks - - description: SLEW RATE register - - reg-names: - items: - - const: ctrl - - const: slew - - clocks: - items: - - description: Interface clock for this controller - - description: Interrupt for controller core's BAM - - clock-names: - items: - - const: iface - - const: core - - interrupts: - maxItems: 1 - -required: - - compatible - - reg - - reg-names - - clocks - - clock-names - - interrupts - -unevaluatedProperties: false - -examples: - - | - #include <dt-bindings/clock/qcom,gcc-msm8960.h> - #include <dt-bindings/clock/qcom,lcc-msm8960.h> - #include <dt-bindings/interrupt-controller/arm-gic.h> - - soc { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - slim@28080000 { - compatible = "qcom,apq8064-slim", "qcom,slim"; - reg = <0x28080000 0x2000>, <0x80207c 4>; - reg-names = "ctrl", "slew"; - interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; - clock-names = "iface", "core"; - #address-cells = <2>; - #size-cells = <0>; - - audio-codec@1,0 { - compatible = "slim217,60"; - reg = <1 0>; - }; - }; - };
Documentation/devicetree/bindings/slimbus/slimbus.yaml +4 -9
@@ -68,8 +68,6 @@ additionalProperties: true examples: - | - #include <dt-bindings/clock/qcom,gcc-msm8960.h> - #include <dt-bindings/clock/qcom,lcc-msm8960.h> #include <dt-bindings/interrupt-controller/arm-gic.h> soc {
@@ -78,17 +76,14 @@ examples: ranges; slim@28080000 { - compatible = "qcom,apq8064-slim", "qcom,slim"; - reg = <0x28080000 0x2000>, <0x80207c 4>; - reg-names = "ctrl", "slew"; - interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; - clock-names = "iface", "core"; + compatible = "qcom,slim-ngd-v1.5.0"; + reg = <0x091c0000 0x2c000>; + interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <2>; #size-cells = <0>; audio-codec@1,0 { - compatible = "slim217,60"; + compatible = "slim217,1a0"; reg = <1 0>; }; };
drivers/slimbus/Kconfig +0 -7
@@ -13,13 +13,6 @@ menuconfig SLIMBUS if SLIMBUS # SLIMbus controllers -config SLIM_QCOM_CTRL - tristate "Qualcomm SLIMbus Manager Component" - depends on HAS_IOMEM - help - Select driver if Qualcomm's SLIMbus Manager Component is - programmed using Linux kernel. - config SLIM_QCOM_NGD_CTRL tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component" depends on HAS_IOMEM && DMA_ENGINE && NET
drivers/slimbus/Makefile +0 -3
@@ -6,8 +6,5 @@ obj-$(CONFIG_SLIMBUS) += slimbus.o slimbus-y := core.o messaging.o sched.o stream.o #Controllers -obj-$(CONFIG_SLIM_QCOM_CTRL) += slim-qcom-ctrl.o -slim-qcom-ctrl-y := qcom-ctrl.o - obj-$(CONFIG_SLIM_QCOM_NGD_CTRL) += slim-qcom-ngd-ctrl.o slim-qcom-ngd-ctrl-y := qcom-ngd-ctrl.o
drivers/slimbus/qcom-ctrl.c deleted +0 -735
735 lines not on this page · raw message
Signature · 1 line
2.50.0
[email protected]
maintainerPATCH 2/3 slimbus: messaging: Remove redundant code
In reply to [email protected]From: Qiang Liu <[email protected]>
Assigning txn->comp to itself has no effect.
--- drivers/slimbus/messaging.c | 2 -- 1 file changed, 2 deletions(-)
drivers/slimbus/messaging.c +0 -2
@@ -143,8 +143,6 @@ int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn)if (!txn->msg->comp) txn->comp = &done; -else - txn->comp = txn->comp; } ret = ctrl->xfer_msg (ctrl, txn);
Signature · 1 line
2.50.0
[email protected]
maintainerPATCH 3/3 slimbus: messaging: fix "transfered"->"transferred"
In reply to [email protected]From: Xichao Zhao <[email protected]>
Trivial fix to spelling mistake in comment text.
--- drivers/slimbus/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/slimbus/messaging.c +1 -1
@@ -222,7 +222,7 @@ static u16 slim_slicesize(int code)/** * slim_xfer_msg() - Transfer a value info message on slim device * -* @sbdev: slim device to which this msg has to be transfered +* @sbdev: slim device to which this msg has to be transferred * @msg: value info message pointer * @mc: message code of the message *
Signature · 1 line
2.50.0