Add support for framer infrastructure and PEF2256 framer
Subsystems (6)
Herve Codina
maintainercover Add support for framer infrastructure and PEF2256 framer
Hi,
This series introduces the framer infrastructure and adds the PEF2256 framer provider.
Patches were previously sent as part of a full feature series and were previously reviewed in that context:
"Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1]
In order to ease the merge, the full feature series has been split and this series contains patches related to the framer part (infrastructure and provider).
- Introduce framer infrastructure (patch 1)
- Add PEF2256 framer provider (patches 2, 3, 4, 5)
Compare to the original full feature series, a modification was done on patch 3 in order to fix a dependency issue detected my a kernel test robot.
Best regards,
Hervé
[1]: https://lore.kernel.org/linux-kernel/[email protected]/
Changes compare to the full feature series:
- Patch 3
Add 'depends on HAS_IOMEM' to fix the following issue detected by a kernel test robot:
WARNING: unmet direct dependencies detected for MFD_CORE
Depends on [n]: HAS_IOMEM [=n]
Selected by [y]:
- FRAMER_PEF2256 [=y] && NETDEVICES [=y] && WAN [=y] && FRAMER [=y] && OF [=y]
Patches extracted:
- Patch 1 : full feature series patch 21
- Patch 2 : full feature series patch 22
- Patch 3 : full feature series patch 23
- Patch 4 : full feature series patch 24
- Patch 5 : full feature series patch 25
Herve Codina (5):
net: wan: Add framer framework support
dt-bindings: net: Add the Lantiq PEF2256 E1/T1/J1 framer
net: wan: framer: Add support for the Lantiq PEF2256 framer
pinctrl: Add support for the Lantic PEF2256 pinmux
MAINTAINERS: Add the Lantiq PEF2256 driver entry
.../bindings/net/lantiq,pef2256.yaml | 213 +++++ MAINTAINERS | 8 + drivers/net/wan/Kconfig | 2 + drivers/net/wan/Makefile | 2 + drivers/net/wan/framer/Kconfig | 42 + drivers/net/wan/framer/Makefile | 7 + drivers/net/wan/framer/framer-core.c | 882 ++++++++++++++++++ drivers/net/wan/framer/pef2256/Makefile | 8 + drivers/net/wan/framer/pef2256/pef2256-regs.h | 250 +++++ drivers/net/wan/framer/pef2256/pef2256.c | 880 +++++++++++++++++ drivers/pinctrl/Kconfig | 15 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-pef2256.c | 358 +++++++ include/linux/framer/framer-provider.h | 194 ++++ include/linux/framer/framer.h | 205 ++++ include/linux/framer/pef2256.h | 31 + 16 files changed, 3098 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/lantiq,pef2256.yaml create mode 100644 drivers/net/wan/framer/Kconfig create mode 100644 drivers/net/wan/framer/Makefile create mode 100644 drivers/net/wan/framer/framer-core.c create mode 100644 drivers/net/wan/framer/pef2256/Makefile create mode 100644 drivers/net/wan/framer/pef2256/pef2256-regs.h create mode 100644 drivers/net/wan/framer/pef2256/pef2256.c create mode 100644 drivers/pinctrl/pinctrl-pef2256.c create mode 100644 include/linux/framer/framer-provider.h create mode 100644 include/linux/framer/framer.h create mode 100644 include/linux/framer/pef2256.h
Signature · 1 line
2.42.0
Herve Codina
maintainerPATCH 1/5 net: wan: Add framer framework support
A framer is a component in charge of an E1/T1 line interface. Connected usually to a TDM bus, it converts TDM frames to/from E1/T1 frames. It also provides information related to the E1/T1 line.
The framer framework provides a set of APIs for the framer drivers (framer provider) to create/destroy a framer and APIs for the framer users (framer consumer) to obtain a reference to the framer, and use the framer.
This basic implementation provides a framer abstraction for:
- power on/off the framer
- get the framer status (line state)
- be notified on framer status changes
- get/set the framer configuration
--- drivers/net/wan/Kconfig | 2 + drivers/net/wan/Makefile | 2 + drivers/net/wan/framer/Kconfig | 25 + drivers/net/wan/framer/Makefile | 6 + drivers/net/wan/framer/framer-core.c | 882 +++++++++++++++++++++++++ include/linux/framer/framer-provider.h | 194 ++++++ include/linux/framer/framer.h | 205 ++++++ 7 files changed, 1316 insertions(+) create mode 100644 drivers/net/wan/framer/Kconfig create mode 100644 drivers/net/wan/framer/Makefile create mode 100644 drivers/net/wan/framer/framer-core.c create mode 100644 include/linux/framer/framer-provider.h create mode 100644 include/linux/framer/framer.h
drivers/net/wan/Kconfig +2 -0
@@ -95,6 +95,8 @@ config HDLC_X25 comment "X.25/LAPB support is disabled" depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y +source "drivers/net/wan/framer/Kconfig" + config PCI200SYN tristate "Goramo PCI200SYN support" depends on HDLC && PCI
drivers/net/wan/Makefile +2 -0
@@ -14,6 +14,8 @@ obj-$(CONFIG_HDLC_FR) += hdlc_fr.o obj-$(CONFIG_HDLC_PPP) += hdlc_ppp.o obj-$(CONFIG_HDLC_X25) += hdlc_x25.o +obj-y += framer/ + obj-$(CONFIG_FARSYNC) += farsync.o obj-$(CONFIG_LAPBETHER) += lapbether.o
drivers/net/wan/framer/Kconfig new file +25 -0
@@ -0,0 +1,25 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# FRAMER +# + +menuconfig FRAMER + tristate "Framer Subsystem" + help + A framer is a component in charge of an E1/T1 line interface. + Connected usually to a TDM bus, it converts TDM frames to/from E1/T1 + frames. It also provides information related to the E1/T1 line. + Used with HDLC, the network can be reached through the E1/T1 line. + + This framework is designed to provide a generic interface for framer + devices present in the kernel. This layer will have the generic + API by which framer drivers can create framer using the framer + framework and framer users can obtain reference to the framer. + All the users of this framework should select this config. + +if FRAMER + +config GENERIC_FRAMER + bool + +endif # FRAMER
drivers/net/wan/framer/Makefile new file +6 -0
@@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the framer drivers. +# + +obj-$(CONFIG_GENERIC_FRAMER) += framer-core.o
drivers/net/wan/framer/framer-core.c new file +882 -0
882 lines not on this page · raw message
include/linux/framer/framer-provider.h new file +194 -0
194 lines not on this page · raw message
include/linux/framer/framer.h new file +205 -0
205 lines not on this page · raw message
Signature · 1 line
2.42.0
Herve Codina
maintainerPATCH 2/5 dt-bindings: net: Add the Lantiq PEF2256 E1/T1/J1 framer
In reply to Herve CodinaThe Lantiq PEF2256 is a framer and line interface component designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus.
--- .../bindings/net/lantiq,pef2256.yaml | 213 ++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/lantiq,pef2256.yaml
Documentation/devicetree/bindings/net/lantiq,pef2256.yaml new file +213 -0
@@ -0,0 +1,213 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/lantiq,pef2256.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq PEF2256 + +maintainers: + - Herve Codina <[email protected]> + +description: + The Lantiq PEF2256, also known as Infineon PEF2256 or FALC56, is a framer and + line interface component designed to fulfill all required interfacing between + an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus. + +properties: + compatible: + items: + - const: lantiq,pef2256 + + reg: + maxItems: 1 + + clocks: + items: + - description: Master Clock + - description: System Clock Receive + - description: System Clock Transmit + + clock-names: + items: + - const: mclk + - const: sclkr + - const: sclkx + + interrupts: + maxItems: 1 + + reset-gpios: + description: + GPIO used to reset the device. + maxItems: 1 + + pinctrl: + $ref: /schemas/pinctrl/pinctrl.yaml# + additionalProperties: false + + patternProperties: + '-pins$': + type: object + $ref: /schemas/pinctrl/pinmux-node.yaml# + additionalProperties: false + + properties: + pins: + enum: [ RPA, RPB, RPC, RPD, XPA, XPB, XPC, XPD ] + + function: + enum: [ SYPR, RFM, RFMB, RSIGM, RSIG, DLR, FREEZE, RFSP, LOS, + SYPX, XFMS, XSIG, TCLK, XMFB, XSIGM, DLX, XCLK, XLT, + GPI, GPOH, GPOL ] + + required: + - pins + - function + + lantiq,data-rate-bps: + enum: [2048000, 4096000, 8192000, 16384000] + default: 2048000 + description: + Data rate (bit per seconds) on the system highway. + + lantiq,clock-falling-edge: + $ref: /schemas/types.yaml#/definitions/flag + description: + Data is sent on falling edge of the clock (and received on the rising + edge). If 'clock-falling-edge' is not present, data is sent on the + rising edge (and received on the falling edge). + + lantiq,channel-phase: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1, 2, 3, 4, 5, 6, 7] + default: 0 + description: | + The pef2256 delivers a full frame (32 8-bit time-slots in E1 and 24 8-bit + time-slots 8 8-bit signaling in E1/J1) every 125us. This lead to a data + rate of 2048000 bit/s. When lantiq,data-rate-bps is more than 2048000 + bit/s, the data (all 32 8-bit) present in the frame are interleave with + unused time-slots. The lantiq,channel-phase property allows to set the + correct alignment of the interleave mechanism. + For instance, suppose lantiq,data-rate-bps = 8192000 (ie 4*2048000), and + lantiq,channel-phase = 2, the interleave schema with unused time-slots + (nu) and used time-slots (XX) for TSi is + nu nu XX nu nu nu XX nu nu nu XX nu + <-- TSi --> <- TSi+1 -> <- TSi+2 -> + With lantiq,data-rate-bps = 8192000, and lantiq,channel-phase = 1, the + interleave schema is + nu XX nu nu nu XX nu nu nu XX nu nu + <-- TSi --> <- TSi+1 -> <- TSi+2 -> + With lantiq,data-rate-bps = 4096000 (ie 2*2048000), and + lantiq,channel-phase = 1, the interleave schema is + nu XX nu XX nu XX + <-- TSi --> <- TSi+1 -> <- TSi+2 -> + +patternProperties: + '^codec(-([0-9]|[1-2][0-9]|3[0-1]))?$': + type: object + $ref: /schemas/sound/dai-common.yaml + unevaluatedProperties: false + description: + Codec provided by the pef2256. This codec allows to use some of the PCM + system highway time-slots as audio channels to transport audio data over + the E1/T1/J1 lines. + The time-slots used by the codec must be set and so, the properties + 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and + 'dai-tdm-slot-rx-mask' must be present in the sound card node for + sub-nodes that involve the codec. The codec uses 8-bit time-slots. + 'dai-tdm-tdm-slot-with' must be set to 8. + The tx and rx masks define the pef2256 time-slots assigned to the codec. + + properties: + compatible: + const: lantiq,pef2256-codec + + '#sound-dai-cells': + const: 0 + + required: + - compatible + - '#sound-dai-cells' + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + #include <dt-bindings/interrupt-controller/irq.h> + + pef2256: framer@2000000 { + compatible = "lantiq,pef2256"; + reg = <0x2000000 0x100>; + interrupts = <8 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&intc>; + clocks = <&clk_mclk>, <&clk_sclkr>, <&clk_sclkx>; + clock-names = "mclk", "sclkr", "sclkx"; + reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + lantiq,data-rate-bps = <4096000>; + + pinctrl { + pef2256_rpa_sypr: rpa-pins { + pins = "RPA"; + function = "SYPR"; + }; + pef2256_xpa_sypx: xpa-pins { + pins = "XPA"; + function = "SYPX"; + }; + }; + + pef2256_codec0: codec-0 { + compatible = "lantiq,pef2256-codec"; + #sound-dai-cells = <0>; + sound-name-prefix = "PEF2256_0"; + }; + + pef2256_codec1: codec-1 { + compatible = "lantiq,pef2256-codec"; + #sound-dai-cells = <0>; + sound-name-prefix = "PEF2256_1"; + }; + }; + + sound { + compatible = "simple-audio-card"; + #address-cells = <1>; + #size-cells = <0>; + simple-audio-card,dai-link@0 { /* CPU DAI1 - pef2256 codec 1 */ + reg = <0>; + cpu { + sound-dai = <&cpu_dai1>; + }; + codec { + sound-dai = <&pef2256_codec0>; + dai-tdm-slot-num = <4>; + dai-tdm-slot-width = <8>; + /* TS 1, 2, 3, 4 */ + dai-tdm-slot-tx-mask = <0 1 1 1 1>; + dai-tdm-slot-rx-mask = <0 1 1 1 1>; + }; + }; + simple-audio-card,dai-link@1 { /* CPU DAI2 - pef2256 codec 2 */ + reg = <1>; + cpu { + sound-dai = <&cpu_dai2>; + }; + codec { + sound-dai = <&pef2256_codec1>; + dai-tdm-slot-num = <4>; + dai-tdm-slot-width = <8>; + /* TS 5, 6, 7, 8 */ + dai-tdm-slot-tx-mask = <0 0 0 0 0 1 1 1 1>; + dai-tdm-slot-rx-mask = <0 0 0 0 0 1 1 1 1>; + }; + }; + };
Signature · 1 line
2.42.0
Herve Codina
maintainerPATCH 3/5 net: wan: framer: Add support for the Lantiq PEF2256 framer
In reply to Herve CodinaThe Lantiq PEF2256 is a framer and line interface component designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus.
--- drivers/net/wan/framer/Kconfig | 17 + drivers/net/wan/framer/Makefile | 1 + drivers/net/wan/framer/pef2256/Makefile | 8 + drivers/net/wan/framer/pef2256/pef2256-regs.h | 250 +++++ drivers/net/wan/framer/pef2256/pef2256.c | 880 ++++++++++++++++++ include/linux/framer/pef2256.h | 31 + 6 files changed, 1187 insertions(+) create mode 100644 drivers/net/wan/framer/pef2256/Makefile create mode 100644 drivers/net/wan/framer/pef2256/pef2256-regs.h create mode 100644 drivers/net/wan/framer/pef2256/pef2256.c create mode 100644 include/linux/framer/pef2256.h
drivers/net/wan/framer/Kconfig +17 -0
@@ -22,4 +22,21 @@ if FRAMER config GENERIC_FRAMER bool +config FRAMER_PEF2256 + tristate "Lantiq PEF2256" + depends on OF + depends on HAS_IOMEM + select GENERIC_FRAMER + select MFD_CORE + select REGMAP_MMIO + help + Enable support for the Lantiq PEF2256 (FALC56) framer. + The PEF2256 is a framer and line interface between analog E1/T1/J1 + line and a digital PCM bus. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called framer-pef2256. + endif # FRAMER
drivers/net/wan/framer/Makefile +1 -0
@@ -4,3 +4,4 @@ # obj-$(CONFIG_GENERIC_FRAMER) += framer-core.o +obj-$(CONFIG_FRAMER_PEF2256) += pef2256/
drivers/net/wan/framer/pef2256/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the pef2256 driver. +# + +obj-$(CONFIG_FRAMER_PEF2256) += framer-pef2256.o + +framer-pef2256-objs := pef2256.o
drivers/net/wan/framer/pef2256/pef2256-regs.h new file +250 -0
250 lines not on this page · raw message
drivers/net/wan/framer/pef2256/pef2256.c new file +880 -0
880 lines not on this page · raw message
include/linux/framer/pef2256.h new file +31 -0
@@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* +* PEF2256 consumer API +* +* Copyright 2023 CS GROUP France +* +* Author: Herve Codina <[email protected]> +*/ +#ifndef __PEF2256_H__ +#define __PEF2256_H__ + +#include <linux/types.h> + +struct pef2256 ; +struct regmap ; + +/* Retrieve the PEF2256 regmap */ +struct regmap *pef2256_get_regmap (struct pef2256 *pef2256); + +/* PEF2256 hardware versions */ +enum pef2256_version { +PEF2256_VERSION_UNKNOWN , +PEF2256_VERSION_1_2 , +PEF2256_VERSION_2_1 , +PEF2256_VERSION_2_2 , +}; + +/* Get the PEF2256 hardware version */ +enum pef2256_version pef2256_get_version (struct pef2256 *pef2256); + +#endif /* __PEF2256_H__ */
Signature · 1 line
2.42.0
Herve Codina
maintainerPATCH 4/5 pinctrl: Add support for the Lantic PEF2256 pinmux
In reply to Herve CodinaThe Lantiq PEF2256 is a framer and line interface component designed to fulfill all required interfacing between an analog E1/T1/J1 line and the digital PCM system highway/H.100 bus.
This kind of component can be found in old telecommunication system. It was used to digital transmission of many simultaneous telephone calls by time-division multiplexing. Also using HDLC protocol, WAN networks can be reached through the framer.
This pinmux support handles the pin muxing part (pins RP(A..D) and pins XP(A..D)) of the PEF2256.
--- drivers/pinctrl/Kconfig | 15 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-pef2256.c | 358 ++++++++++++++++++++++++++++++ 3 files changed, 374 insertions(+) create mode 100644 drivers/pinctrl/pinctrl-pef2256.c
drivers/pinctrl/Kconfig +15 -0
@@ -366,6 +366,21 @@ config PINCTRL_PALMAS open drain configuration for the Palmas series devices like TPS65913, TPS80036 etc. +config PINCTRL_PEF2256 + tristate "Lantiq PEF2256 (FALC56) pin controller driver" + depends on OF && FRAMER_PEF2256 + select PINMUX + select PINCONF + select GENERIC_PINCONF + help + This option enables the pin controller support for the Lantiq PEF2256 + framer, also known as FALC56. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called pinctrl-pef2256. + config PINCTRL_PIC32 bool "Microchip PIC32 pin controller driver" depends on OF
drivers/pinctrl/Makefile +1 -0
@@ -39,6 +39,7 @@ obj-$(CONFIG_PINCTRL_MICROCHIP_SGPIO) += pinctrl-microchip-sgpio.o obj-$(CONFIG_PINCTRL_MLXBF3) += pinctrl-mlxbf3.o obj-$(CONFIG_PINCTRL_OCELOT) += pinctrl-ocelot.o obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o +obj-$(CONFIG_PINCTRL_PEF2256) += pinctrl-pef2256.o obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-pic32.o obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
drivers/pinctrl/pinctrl-pef2256.c new file +358 -0
358 lines not on this page · raw message
Signature · 1 line
2.42.0
Herve Codina
maintainerPATCH 5/5 MAINTAINERS: Add the Lantiq PEF2256 driver entry
In reply to Herve CodinaAfter contributing the driver, add myself as the maintainer for the Lantiq PEF2256 driver.
--- MAINTAINERS | 8 ++++++++ 1 file changed, 8 insertions(+)
MAINTAINERS +8 -0
@@ -12028,6 +12028,14 @@ S: Maintained F: arch/mips/lantiq F: drivers/soc/lantiq +LANTIQ PEF2256 DRIVER +M: Herve Codina <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/net/lantiq,pef2256.yaml +F: drivers/net/wan/framer/pef2256/ +F: drivers/pinctrl/pinctrl-pef2256.c +F: include/linux/framer/pef2256.h + LASI 53c700 driver for PARISC M: "James E.J. Bottomley" <[email protected]> L: [email protected]
Signature · 1 line
2.42.0
Quoted 9 lines · Herve Codina
Hi,
This series introduces the framer infrastructure and adds the PEF2256 framer provider.
Patches were previously sent as part of a full feature series and were previously reviewed in that context:
"Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1]
Quoted 5 lines
In order to ease the merge, the full feature series has been split and this series contains patches related to the framer part (infrastructure and provider).
- Introduce framer infrastructure (patch 1)
- Add PEF2256 framer provider (patches 2, 3, 4, 5)
If this gets applied it'd be good to get a signed tag based off Linus' tree so things that depend on it can be pulled into other trees (eg, the ASoC mapping for the framer).
Quoted 16 lines · Mark Brown
Quoted 9 lines · Herve Codina
Hi,
This series introduces the framer infrastructure and adds the PEF2256 framer provider.
Patches were previously sent as part of a full feature series and were previously reviewed in that context:
"Add support for QMC HDLC, framer infrastructure and PEF2256 framer" [1]Quoted 5 lines
In order to ease the merge, the full feature series has been split and this series contains patches related to the framer part (infrastructure and provider).
- Introduce framer infrastructure (patch 1)
- Add PEF2256 framer provider (patches 2, 3, 4, 5)
Quoted 3 lines
If this gets applied it'd be good to get a signed tag based off Linus' tree so things that depend on it can be pulled into other trees (eg, the ASoC mapping for the framer).
Do you mean my pin control tree or the big penguins tree? :D (I'm guessing mine.)
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
If people wants this from the pinctrl tree (and patches are ACKed by everyone involved etc) I can certainly do that if the netdev people are happy to pull an immutable branch from me.
Yours,
Linus Walleij
Quoted 8 lines · Linus Walleij
Quoted 3 lines · Mark Brown
If this gets applied it'd be good to get a signed tag based off Linus' tree so things that depend on it can be pulled into other trees (eg, the ASoC mapping for the framer).
Do you mean my pin control tree or the big penguins tree? :D (I'm guessing mine.)
I actually meant mainline there.
Quoted 3 lines
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
Right, I'd expect a signed tag on the immutable branch - it's generally helpful to avoid confusion about the branch actually being immutable.
Quoted 11 lines · Mark Brown
Quoted 8 lines · Linus Walleij
Quoted 3 lines · Mark Brown
If this gets applied it'd be good to get a signed tag based off Linus' tree so things that depend on it can be pulled into other trees (eg, the ASoC mapping for the framer).
Do you mean my pin control tree or the big penguins tree? :D (I'm guessing mine.)
I actually meant mainline there.
Ah based off, not residing in. My bad.
Quoted 6 lines
Quoted 3 lines
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
Right, I'd expect a signed tag on the immutable branch - it's generally helpful to avoid confusion about the branch actually being immutable.
Makes sense, best to create that in the netdev tree if possible I guess.
Yours,
Linus Walleij
Jakub Kicinski
maintainerQuoted 9 lines · On Tue, 28 Nov 2023 15:51:01 +0100 Linus Walleij wrote:
Quoted 6 lines
Quoted 3 lines
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
Right, I'd expect a signed tag on the immutable branch - it's generally helpful to avoid confusion about the branch actually being immutable.
Makes sense, best to create that in the netdev tree if possible I guess.
I think you offered creating the branch / tag in an earlier reply, that's less work for me so yes please! :)
FWIW I usually put the branches / tags in my personal k.org tree. I don't wanna pollute the trees for the $many people who fetch netdev with random tags.
Quoted 5 lines · Jakub Kicinski
Quoted 4 lines · On Tue, 28 Nov 2023 15:51:01 +0100 Linus Walleij wrote:
Quoted 4 lines
Quoted 3 lines
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Right, I'd expect a signed tag on the immutable branch - it's generally helpful to avoid confusion about the branch actually being immutable.
Makes sense, best to create that in the netdev tree if possible I guess.
I think you offered creating the branch / tag in an earlier reply, that's less work for me so yes please! :)
OK I fix!
Just waiting for some final reviews to trickle in.
Herve: nag me if it doesn't happen in time!
Quoted 3 lines
FWIW I usually put the branches / tags in my personal k.org tree. I don't wanna pollute the trees for the $many people who fetch netdev with random tags.
Aha yeah pin control is relatively small so I just carry misc sync tags there.
Yours,
Linus Walleij
Herve Codina
maintainerHi Linus,
Quoted 12 lines · On Wed, 29 Nov 2023 15:00:40 +0100 Linus Walleij <[email protected]>…
Quoted 11 lines · Jakub Kicinski
Quoted 9 lines · On Tue, 28 Nov 2023 15:51:01 +0100 Linus Walleij wrote:
Quoted 6 lines
Quoted 3 lines
I thought this thing would be merged primarily into the networking tree, and I don't know if they do signed tags, I usually create an immutable branch but that should work just as fine I guess.
Right, I'd expect a signed tag on the immutable branch - it's generally helpful to avoid confusion about the branch actually being immutable.
Makes sense, best to create that in the netdev tree if possible I guess.
Quoted 8 lines
Quoted 2 lines
I think you offered creating the branch / tag in an earlier reply, that's less work for me so yes please! :)
OK I fix!
Just waiting for some final reviews to trickle in.
Herve: nag me if it doesn't happen in time!
As you tell me, this is my reminder.
Best regards,
Hervé
Quoted 10 lines
Quoted 4 lines
FWIW I usually put the branches / tags in my personal k.org tree. I don't wanna pollute the trees for the $many people who fetch netdev with random tags.
Aha yeah pin control is relatively small so I just carry misc sync tags there.
Yours,
Linus Walleij
Hi Herve, Jakub, Mark,
here is an immutable tag for the PEF2256 framer, as promised.
I have already merged it into the pinctrl tree for starters.
Yours,
Linus Walleij
The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pef2256-framer
for you to fetch changes up to 1e95d20ae8e6a383b4c1dd2282e5259790724037:
MAINTAINERS: Add the Lantiq PEF2256 driver entry (2023-12-12 23:05:25 +0100)
----------------------------------------------------------------
Immutable tag for the PEF2256 framer
----------------------------------------------------------------
Herve Codina (5):
net: wan: Add framer framework support
dt-bindings: net: Add the Lantiq PEF2256 E1/T1/J1 framer
net: wan: framer: Add support for the Lantiq PEF2256 framer
pinctrl: Add support for the Lantic PEF2256 pinmux
MAINTAINERS: Add the Lantiq PEF2256 driver entry
.../devicetree/bindings/net/lantiq,pef2256.yaml | 213 +++++ MAINTAINERS | 8 + drivers/net/wan/Kconfig | 2 + drivers/net/wan/Makefile | 2 + drivers/net/wan/framer/Kconfig | 42 + drivers/net/wan/framer/Makefile | 7 + drivers/net/wan/framer/framer-core.c | 882 +++++++++++++++++++++ drivers/net/wan/framer/pef2256/Makefile | 8 + drivers/net/wan/framer/pef2256/pef2256-regs.h | 250 ++++++ drivers/net/wan/framer/pef2256/pef2256.c | 880 ++++++++++++++++++++ drivers/pinctrl/Kconfig | 15 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-pef2256.c | 358 +++++++++ include/linux/framer/framer-provider.h | 194 +++++ include/linux/framer/framer.h | 205 +++++ include/linux/framer/pef2256.h | 31 + 16 files changed, 3098 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/lantiq,pef2256.yaml create mode 100644 drivers/net/wan/framer/Kconfig create mode 100644 drivers/net/wan/framer/Makefile create mode 100644 drivers/net/wan/framer/framer-core.c create mode 100644 drivers/net/wan/framer/pef2256/Makefile create mode 100644 drivers/net/wan/framer/pef2256/pef2256-regs.h create mode 100644 drivers/net/wan/framer/pef2256/pef2256.c create mode 100644 drivers/pinctrl/pinctrl-pef2256.c create mode 100644 include/linux/framer/framer-provider.h create mode 100644 include/linux/framer/framer.h create mode 100644 include/linux/framer/pef2256.h
Jakub Kicinski
maintainerQuoted 3 lines · On Tue, 12 Dec 2023 23:15:38 +0100 Linus Walleij wrote:
here is an immutable tag for the PEF2256 framer, as promised.
I have already merged it into the pinctrl tree for starters.
Pulled to net-next as well, thank you!