...
...
4
This leads to people not knowing how to refer to the framework in
4
This leads to people not knowing how to refer to the framework in
5
writing, inconsistencies in module naming, etc.
5
writing, inconsistencies in module naming, etc.
6
6
7
Let's rename also the Kconfig symbols before this gets any worse.
7
Let's rename also the Kconfig symbols before this gets any worse.
8
8
9
The arm64, ath11k and ath12k changes could go through the corresponding
9
The ath11k, ath12k and arm64 changes could go theoretically go through
10
subsystem trees once they have the new symbols (e.g. in the next cycle)
10
the corresponding subsystem trees in turn once they have the new
11
or they could all go in via the PCI tree with an ack from their
11
symbols, but to avoid tracking dependencies over multiple cycles it is
12
maintainers.
12
much preferred to have all of these go in through the PCI tree.
13
14
The wifi patches have been acked by Jeff and I don't think Will or
15
Catalin will mind the single rename in arm64 if they don't see this
16
message in time.
17
18
Note that the patches could be squashed into one, but keeping them
19
separate highlights the changes done to other subsystems. I also find it
20
easier to review the changes this way.
13
21
14
There are some new pwrctrl drivers and an arm64 defconfig change on the
22
There are some new pwrctrl drivers and an arm64 defconfig change on the
15
lists so we may need to keep deprecated symbols for a release or two.
23
lists, but the former should also go in through PCI anyway while we can
24
make sure that the defconfig update matches the new slot symbol.
25
26
Note that getting this rename into rc1 would be great as that way it
27
would end up in most subsystem trees soon as well.
16
28
17
Johan
29
Johan
18
30
19
31
32
Changes in v2:
33
- drop deprecated symbol for the new slot driver to avoid having to a
34
add a new user visible symbol (e.g. any early adopters will be asked
35
to enable the renamed option again)
36
37
- move arm64 patch last two avoid temporarily not having the pwrseq
38
driver selected (Jonas)
39
20
Johan Hovold (4):
40
Johan Hovold (4):
21
PCI/pwrctrl: Rename pwrctrl Kconfig symbols and slot module
41
PCI/pwrctrl: Rename pwrctrl Kconfig symbols and slot module
22
arm64: Kconfig: switch to HAVE_PWRCTRL
23
wifi: ath11k: switch to PCI_PWRCTRL_PWRSEQ
42
wifi: ath11k: switch to PCI_PWRCTRL_PWRSEQ
24
wifi: ath12k: switch to PCI_PWRCTRL_PWRSEQ
43
wifi: ath12k: switch to PCI_PWRCTRL_PWRSEQ
44
arm64: Kconfig: switch to HAVE_PWRCTRL
25
45
26
arch/arm64/Kconfig.platforms | 2 +-
46
arch/arm64/Kconfig.platforms | 2 +-
27
drivers/net/wireless/ath/ath11k/Kconfig | 2 +-
47
drivers/net/wireless/ath/ath11k/Kconfig | 2 +-
28
drivers/net/wireless/ath/ath12k/Kconfig | 2 +-
48
drivers/net/wireless/ath/ath12k/Kconfig | 2 +-
29
drivers/pci/pwrctrl/Kconfig | 27 +++++++++++++++++++------
49
drivers/pci/pwrctrl/Kconfig | 22 ++++++++++++++++------
30
drivers/pci/pwrctrl/Makefile | 8 ++++----
50
drivers/pci/pwrctrl/Makefile | 8 ++++----
31
5 files changed, 28 insertions(+), 13 deletions(-)
51
5 files changed, 23 insertions(+), 13 deletions(-)
32
52
33
--
53
--
34
2.48.1
54
2.49.0
diff view generated by jsdifflib
...
...
4
4
5
Rename also the Kconfig symbols so that they reflect the new name while
5
Rename also the Kconfig symbols so that they reflect the new name while
6
adding entries for the deprecated ones. The old symbols can be removed
6
adding entries for the deprecated ones. The old symbols can be removed
7
once everything that depends on them has been updated.
7
once everything that depends on them has been updated.
8
8
9
Note that no deprecated symbol is added for the new slot driver to avoid
10
having to add a user visible option.
11
9
The new slot module is also renamed to reflect the framework name and
12
The new slot module is also renamed to reflect the framework name and
10
match the other pwrctrl modules.
13
match the other pwrctrl modules.
11
14
15
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
16
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
12
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
17
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
13
---
18
---
14
drivers/pci/pwrctrl/Kconfig | 27 +++++++++++++++++++++------
19
drivers/pci/pwrctrl/Kconfig | 22 ++++++++++++++++------
15
drivers/pci/pwrctrl/Makefile | 8 ++++----
20
drivers/pci/pwrctrl/Makefile | 8 ++++----
16
2 files changed, 25 insertions(+), 10 deletions(-)
21
2 files changed, 20 insertions(+), 10 deletions(-)
17
22
18
diff --git a/drivers/pci/pwrctrl/Kconfig b/drivers/pci/pwrctrl/Kconfig
23
diff --git a/drivers/pci/pwrctrl/Kconfig b/drivers/pci/pwrctrl/Kconfig
19
index XXXXXXX..XXXXXXX 100644
24
index XXXXXXX..XXXXXXX 100644
20
--- a/drivers/pci/pwrctrl/Kconfig
25
--- a/drivers/pci/pwrctrl/Kconfig
21
+++ b/drivers/pci/pwrctrl/Kconfig
26
+++ b/drivers/pci/pwrctrl/Kconfig
...
...
57
+
62
+
58
+# deprecated
63
+# deprecated
59
+config PCI_PWRCTL_PWRSEQ
64
+config PCI_PWRCTL_PWRSEQ
60
+    tristate
65
+    tristate
61
+    select PCI_PWRCTRL_PWRSEQ
66
+    select PCI_PWRCTRL_PWRSEQ
62
+
63
+# deprecated
64
+config PCI_PWRCTL_SLOT
65
+    tristate
66
+    select PCI_PWRCTRL_SLOT
67
diff --git a/drivers/pci/pwrctrl/Makefile b/drivers/pci/pwrctrl/Makefile
67
diff --git a/drivers/pci/pwrctrl/Makefile b/drivers/pci/pwrctrl/Makefile
68
index XXXXXXX..XXXXXXX 100644
68
index XXXXXXX..XXXXXXX 100644
69
--- a/drivers/pci/pwrctrl/Makefile
69
--- a/drivers/pci/pwrctrl/Makefile
70
+++ b/drivers/pci/pwrctrl/Makefile
70
+++ b/drivers/pci/pwrctrl/Makefile
71
@@ -XXX,XX +XXX,XX @@
71
@@ -XXX,XX +XXX,XX @@
...
...
81
-obj-$(CONFIG_PCI_PWRCTL_SLOT)        += pci-pwrctl-slot.o
81
-obj-$(CONFIG_PCI_PWRCTL_SLOT)        += pci-pwrctl-slot.o
82
-pci-pwrctl-slot-y            := slot.o
82
-pci-pwrctl-slot-y            := slot.o
83
+obj-$(CONFIG_PCI_PWRCTRL_SLOT)        += pci-pwrctrl-slot.o
83
+obj-$(CONFIG_PCI_PWRCTRL_SLOT)        += pci-pwrctrl-slot.o
84
+pci-pwrctrl-slot-y            := slot.o
84
+pci-pwrctrl-slot-y            := slot.o
85
--
85
--
86
2.48.1
86
2.49.0
diff view generated by jsdifflib
1
The PCI_PWRCTRL_PWRSEQ and HAVE_PWRCTRL symbols have been renamed to
1
The PCI_PWRCTRL_PWRSEQ and HAVE_PWRCTRL symbols have been renamed to
2
reflect the pwrctrl framework name. Switch to the non-deprecated
2
reflect the pwrctrl framework name. Switch to the non-deprecated
3
symbols.
3
symbols.
4
4
5
Acked-by: Jeff Johnson <jjohnson@kernel.org> # drivers/net/wireless/ath/...
6
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
7
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
8
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
6
---
9
---
7
drivers/net/wireless/ath/ath11k/Kconfig | 2 +-
10
drivers/net/wireless/ath/ath11k/Kconfig | 2 +-
8
1 file changed, 1 insertion(+), 1 deletion(-)
11
1 file changed, 1 insertion(+), 1 deletion(-)
9
12
...
...
19
+    select PCI_PWRCTRL_PWRSEQ if HAVE_PWRCTRL
22
+    select PCI_PWRCTRL_PWRSEQ if HAVE_PWRCTRL
20
    help
23
    help
21
     This module adds support for PCIE bus
24
     This module adds support for PCIE bus
22
25
23
--
26
--
24
2.48.1
27
2.49.0
diff view generated by jsdifflib
1
The PCI_PWRCTRL_PWRSEQ and HAVE_PWRCTRL symbols have been renamed to
1
The PCI_PWRCTRL_PWRSEQ and HAVE_PWRCTRL symbols have been renamed to
2
reflect the pwrctrl framework name. Switch to the non-deprecated
2
reflect the pwrctrl framework name. Switch to the non-deprecated
3
symbols.
3
symbols.
4
4
5
Acked-by: Jeff Johnson <jjohnson@kernel.org> # drivers/net/wireless/ath/...
6
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
7
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
8
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
6
---
9
---
7
drivers/net/wireless/ath/ath12k/Kconfig | 2 +-
10
drivers/net/wireless/ath/ath12k/Kconfig | 2 +-
8
1 file changed, 1 insertion(+), 1 deletion(-)
11
1 file changed, 1 insertion(+), 1 deletion(-)
9
12
...
...
19
+    select PCI_PWRCTRL_PWRSEQ if HAVE_PWRCTRL
22
+    select PCI_PWRCTRL_PWRSEQ if HAVE_PWRCTRL
20
    help
23
    help
21
     Enable support for Qualcomm Technologies Wi-Fi 7 (IEEE
24
     Enable support for Qualcomm Technologies Wi-Fi 7 (IEEE
22
     802.11be) family of chipsets, for example WCN7850 and
25
     802.11be) family of chipsets, for example WCN7850 and
23
--
26
--
24
2.48.1
27
2.49.0
diff view generated by jsdifflib
...
...
18
+    select HAVE_PWRCTRL if PCI
18
+    select HAVE_PWRCTRL if PCI
19
    help
19
    help
20
     This enables support for the ARMv8 based Qualcomm chipsets.
20
     This enables support for the ARMv8 based Qualcomm chipsets.
21
21
22
--
22
--
23
2.48.1
23
2.49.0
diff view generated by jsdifflib