* [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible @ 2023-04-23 12:39 Stanislav Jakubek 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek 2023-05-08 18:54 ` [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Florian Fainelli 0 siblings, 2 replies; 12+ messages in thread From: Stanislav Jakubek @ 2023-04-23 12:39 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden Cc: bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel Add BCM23550-specific compatible for brcm,kona-i2c nodes. While not currently used by the i2c-bcm-kona driver, they can serve for further customization, if required. Done in preparation for dt-binding coversion to DT schema. Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> --- Changes in v2: - none arch/arm/boot/dts/bcm23550.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm23550.dtsi b/arch/arm/boot/dts/bcm23550.dtsi index a36c9b1d23c8..32b244b8546c 100644 --- a/arch/arm/boot/dts/bcm23550.dtsi +++ b/arch/arm/boot/dts/bcm23550.dtsi @@ -159,7 +159,7 @@ uartb3: serial@2000 { }; bsc1: i2c@16000 { - compatible = "brcm,kona-i2c"; + compatible = "brcm,bcm23550-i2c", "brcm,kona-i2c"; reg = <0x00016000 0x70>; interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; @@ -169,7 +169,7 @@ bsc1: i2c@16000 { }; bsc2: i2c@17000 { - compatible = "brcm,kona-i2c"; + compatible = "brcm,bcm23550-i2c", "brcm,kona-i2c"; reg = <0x00017000 0x70>; interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; @@ -179,7 +179,7 @@ bsc2: i2c@17000 { }; bsc3: i2c@18000 { - compatible = "brcm,kona-i2c"; + compatible = "brcm,bcm23550-i2c", "brcm,kona-i2c"; reg = <0x00018000 0x70>; interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; @@ -189,7 +189,7 @@ bsc3: i2c@18000 { }; bsc4: i2c@1c000 { - compatible = "brcm,kona-i2c"; + compatible = "brcm,bcm23550-i2c", "brcm,kona-i2c"; reg = <0x0001c000 0x70>; interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; -- 2.25.1 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-23 12:39 [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Stanislav Jakubek @ 2023-04-23 12:40 ` Stanislav Jakubek 2023-04-24 13:28 ` Rob Herring ` (2 more replies) 2023-05-08 18:54 ` [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Florian Fainelli 1 sibling, 3 replies; 12+ messages in thread From: Stanislav Jakubek @ 2023-04-23 12:40 UTC (permalink / raw) To: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden Cc: bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel Convert Broadcom Kona family I2C bindings to DT schema. Changes during conversion: - add used, but previously undocumented SoC-specific compatibles - drop references to SoCs that are not upstream - add supported clock frequencies according to the Linux driver [1] [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> --- Changes in v2: - add missing arm-gic.h include - fix indentation to 4 spaces .../devicetree/bindings/i2c/brcm,kona-i2c.txt | 35 ----------- .../bindings/i2c/brcm,kona-i2c.yaml | 59 +++++++++++++++++++ 2 files changed, 59 insertions(+), 35 deletions(-) delete mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt create mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml diff --git a/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt b/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt deleted file mode 100644 index 1b87b741fa8e..000000000000 --- a/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt +++ /dev/null @@ -1,35 +0,0 @@ -Broadcom Kona Family I2C -========================= - -This I2C controller is used in the following Broadcom SoCs: - - BCM11130 - BCM11140 - BCM11351 - BCM28145 - BCM28155 - -Required Properties -------------------- -- compatible: "brcm,bcm11351-i2c", "brcm,kona-i2c" -- reg: Physical base address and length of controller registers -- interrupts: The interrupt number used by the controller -- clocks: clock specifier for the kona i2c external clock -- clock-frequency: The I2C bus frequency in Hz -- #address-cells: Should be <1> -- #size-cells: Should be <0> - -Refer to clocks/clock-bindings.txt for generic clock consumer -properties. - -Example: - -i2c@3e016000 { - compatible = "brcm,bcm11351-i2c","brcm,kona-i2c"; - reg = <0x3e016000 0x80>; - interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&bsc1_clk>; - clock-frequency = <400000>; - #address-cells = <1>; - #size-cells = <0>; -}; diff --git a/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml b/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml new file mode 100644 index 000000000000..7a694af90fc6 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/brcm,kona-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family I2C controller + +maintainers: + - Florian Fainelli <f.fainelli@gmail.com> + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + items: + - enum: + - brcm,bcm11351-i2c + - brcm,bcm21664-i2c + - brcm,bcm23550-i2c + - const: brcm,kona-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-frequency: + enum: [ 100000, 400000, 1000000, 3400000 ] + +required: + - compatible + - reg + - interrupts + - clocks + - clock-frequency + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/interrupt-controller/irq.h> + + i2c@3e016000 { + compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c"; + reg = <0x3e016000 0x80>; + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&bsc1_clk>; + clock-frequency = <400000>; + #address-cells = <1>; + #size-cells = <0>; + }; +... -- 2.25.1 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek @ 2023-04-24 13:28 ` Rob Herring 2023-04-26 17:23 ` Stanislav Jakubek 2023-04-24 13:53 ` Krzysztof Kozlowski 2023-05-04 4:22 ` Wolfram Sang 2 siblings, 1 reply; 12+ messages in thread From: Rob Herring @ 2023-04-24 13:28 UTC (permalink / raw) To: Stanislav Jakubek Cc: Florian Fainelli, linux-i2c, linux-kernel, Scott Branden, bcm-kernel-feedback-list, Ray Jui, Krzysztof Kozlowski, Rob Herring, devicetree, linux-arm-kernel On Sun, 23 Apr 2023 14:40:18 +0200, Stanislav Jakubek wrote: > Convert Broadcom Kona family I2C bindings to DT schema. > > Changes during conversion: > - add used, but previously undocumented SoC-specific compatibles > - drop references to SoCs that are not upstream > - add supported clock frequencies according to the Linux driver [1] > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 > > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> > --- > Changes in v2: > - add missing arm-gic.h include > - fix indentation to 4 spaces > > .../devicetree/bindings/i2c/brcm,kona-i2c.txt | 35 ----------- > .../bindings/i2c/brcm,kona-i2c.yaml | 59 +++++++++++++++++++ > 2 files changed, 59 insertions(+), 35 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt > create mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/72ba28004afb733224f7294a146fc2a6a5a834a7.1682252615.git.stano.jakubek@gmail.com i2c@16000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@16000: compatible: ['brcm,kona-i2c'] is too short arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@17000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@17000: compatible: ['brcm,kona-i2c'] is too short arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@18000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@18000: compatible: ['brcm,kona-i2c'] is too short arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@1c000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] arch/arm/boot/dts/bcm23550-sparrow.dtb i2c@1c000: compatible: ['brcm,kona-i2c'] is too short arch/arm/boot/dts/bcm23550-sparrow.dtb ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-24 13:28 ` Rob Herring @ 2023-04-26 17:23 ` Stanislav Jakubek 2023-04-30 6:55 ` Wolfram Sang 0 siblings, 1 reply; 12+ messages in thread From: Stanislav Jakubek @ 2023-04-26 17:23 UTC (permalink / raw) To: Rob Herring Cc: Florian Fainelli, linux-i2c, linux-kernel, Scott Branden, bcm-kernel-feedback-list, Ray Jui, Krzysztof Kozlowski, Rob Herring, devicetree, linux-arm-kernel On Mon, Apr 24, 2023 at 08:28:08AM -0500, Rob Herring wrote: > > On Sun, 23 Apr 2023 14:40:18 +0200, Stanislav Jakubek wrote: > > Convert Broadcom Kona family I2C bindings to DT schema. > > > > Changes during conversion: > > - add used, but previously undocumented SoC-specific compatibles > > - drop references to SoCs that are not upstream > > - add supported clock frequencies according to the Linux driver [1] > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 > > > > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> > > --- > > Changes in v2: > > - add missing arm-gic.h include > > - fix indentation to 4 spaces > > > > .../devicetree/bindings/i2c/brcm,kona-i2c.txt | 35 ----------- > > .../bindings/i2c/brcm,kona-i2c.yaml | 59 +++++++++++++++++++ > > 2 files changed, 59 insertions(+), 35 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.txt > > create mode 100644 Documentation/devicetree/bindings/i2c/brcm,kona-i2c.yaml > > > > Running 'make dtbs_check' with the schema in this patch gives the > following warnings. Consider if they are expected or the schema is > incorrect. These may not be new warnings. > > Note that it is not yet a requirement to have 0 warnings for dtbs_check. > This will change in the future. > > Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/72ba28004afb733224f7294a146fc2a6a5a834a7.1682252615.git.stano.jakubek@gmail.com > > > i2c@16000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@16000: compatible: ['brcm,kona-i2c'] is too short > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@17000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@17000: compatible: ['brcm,kona-i2c'] is too short > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@18000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@18000: compatible: ['brcm,kona-i2c'] is too short > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@1c000: compatible:0: 'brcm,kona-i2c' is not one of ['brcm,bcm11351-i2c', 'brcm,bcm21664-i2c', 'brcm,bcm23550-i2c'] > arch/arm/boot/dts/bcm23550-sparrow.dtb > > i2c@1c000: compatible: ['brcm,kona-i2c'] is too short > arch/arm/boot/dts/bcm23550-sparrow.dtb > These warnings are fixed by the first patch in the series. Maybe it didn't apply? Regards, Stanislav ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-26 17:23 ` Stanislav Jakubek @ 2023-04-30 6:55 ` Wolfram Sang 2023-04-30 12:12 ` Krzysztof Kozlowski 0 siblings, 1 reply; 12+ messages in thread From: Wolfram Sang @ 2023-04-30 6:55 UTC (permalink / raw) To: Stanislav Jakubek Cc: Rob Herring, Florian Fainelli, linux-i2c, linux-kernel, Scott Branden, bcm-kernel-feedback-list, Ray Jui, Krzysztof Kozlowski, Rob Herring, devicetree, linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 384 bytes --] > > i2c@1c000: compatible: ['brcm,kona-i2c'] is too short > > arch/arm/boot/dts/bcm23550-sparrow.dtb > > > > These warnings are fixed by the first patch in the series. > Maybe it didn't apply? So, this depends on patch 1 but I2C doesn't pick up DT changes. So, shall this go via arm-soc, then? Or DT? Anyway, for any route: Acked-by: Wolfram Sang <wsa@kernel.org> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-30 6:55 ` Wolfram Sang @ 2023-04-30 12:12 ` Krzysztof Kozlowski 2023-05-03 15:38 ` Wolfram Sang 0 siblings, 1 reply; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-04-30 12:12 UTC (permalink / raw) To: Wolfram Sang, Stanislav Jakubek, Rob Herring, Florian Fainelli, linux-i2c, linux-kernel, Scott Branden, bcm-kernel-feedback-list, Ray Jui, Krzysztof Kozlowski, Rob Herring, devicetree, linux-arm-kernel On 30/04/2023 08:55, Wolfram Sang wrote: > >>> i2c@1c000: compatible: ['brcm,kona-i2c'] is too short >>> arch/arm/boot/dts/bcm23550-sparrow.dtb >>> >> >> These warnings are fixed by the first patch in the series. >> Maybe it didn't apply? > > So, this depends on patch 1 but I2C doesn't pick up DT changes. So, > shall this go via arm-soc, then? Or DT? Anyway, for any route: > > Acked-by: Wolfram Sang <wsa@kernel.org> The dtbs warnings - if fixed via any other pactch - can be safely ignored. They do not affect bisectability. Please grab this patch via I2C. The DTS will go separately via arm-soc. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-30 12:12 ` Krzysztof Kozlowski @ 2023-05-03 15:38 ` Wolfram Sang 0 siblings, 0 replies; 12+ messages in thread From: Wolfram Sang @ 2023-05-03 15:38 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Stanislav Jakubek, Rob Herring, Florian Fainelli, linux-i2c, linux-kernel, Scott Branden, bcm-kernel-feedback-list, Ray Jui, Krzysztof Kozlowski, Rob Herring, devicetree, linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 219 bytes --] > The dtbs warnings - if fixed via any other pactch - can be safely > ignored. They do not affect bisectability. Please grab this patch via > I2C. The DTS will go separately via arm-soc. OK, thanks for the heads up! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek 2023-04-24 13:28 ` Rob Herring @ 2023-04-24 13:53 ` Krzysztof Kozlowski 2023-04-26 17:16 ` Stanislav Jakubek 2023-05-04 4:22 ` Wolfram Sang 2 siblings, 1 reply; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-04-24 13:53 UTC (permalink / raw) To: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden Cc: bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel On 23/04/2023 14:40, Stanislav Jakubek wrote: > Convert Broadcom Kona family I2C bindings to DT schema. > > Changes during conversion: > - add used, but previously undocumented SoC-specific compatibles > - drop references to SoCs that are not upstream > - add supported clock frequencies according to the Linux driver [1] > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 This line points to moving reference in next, so might no be accurate later. If you need external reference, then it should be some stable tag. But anyway if this is in mainline (is this?) then, why referencing via external link? Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-24 13:53 ` Krzysztof Kozlowski @ 2023-04-26 17:16 ` Stanislav Jakubek 2023-04-27 15:54 ` Krzysztof Kozlowski 0 siblings, 1 reply; 12+ messages in thread From: Stanislav Jakubek @ 2023-04-26 17:16 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden, bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel On Mon, Apr 24, 2023 at 03:53:07PM +0200, Krzysztof Kozlowski wrote: > On 23/04/2023 14:40, Stanislav Jakubek wrote: > > Convert Broadcom Kona family I2C bindings to DT schema. > > > > Changes during conversion: > > - add used, but previously undocumented SoC-specific compatibles > > - drop references to SoCs that are not upstream > > - add supported clock frequencies according to the Linux driver [1] > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 > > This line points to moving reference in next, so might no be accurate > later. If you need external reference, then it should be some stable > tag. But anyway if this is in mainline (is this?) then, why referencing > via external link? Yes, it's in mainline since 2013. I just pointed to linux-next since that was what I had open at the time. Just to make sure if I understood correctly, if it's in mainline then there's no need to reference it via link? Or should I point to some tag instead, e.g.: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/i2c/busses/i2c-bcm-kona.c?h=v6.3#n731 Thank you for the review, Stanislav > > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-26 17:16 ` Stanislav Jakubek @ 2023-04-27 15:54 ` Krzysztof Kozlowski 0 siblings, 0 replies; 12+ messages in thread From: Krzysztof Kozlowski @ 2023-04-27 15:54 UTC (permalink / raw) To: Stanislav Jakubek Cc: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden, bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel On 26/04/2023 19:16, Stanislav Jakubek wrote: > On Mon, Apr 24, 2023 at 03:53:07PM +0200, Krzysztof Kozlowski wrote: >> On 23/04/2023 14:40, Stanislav Jakubek wrote: >>> Convert Broadcom Kona family I2C bindings to DT schema. >>> >>> Changes during conversion: >>> - add used, but previously undocumented SoC-specific compatibles >>> - drop references to SoCs that are not upstream >>> - add supported clock frequencies according to the Linux driver [1] >>> >>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 >> >> This line points to moving reference in next, so might no be accurate >> later. If you need external reference, then it should be some stable >> tag. But anyway if this is in mainline (is this?) then, why referencing >> via external link? > > Yes, it's in mainline since 2013. I just pointed to linux-next since > that was what I had open at the time. > > Just to make sure if I understood correctly, if it's in mainline then > there's no need to reference it via link? Or should I point to some tag > instead, e.g.: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/i2c/busses/i2c-bcm-kona.c?h=v6.3#n731 Yes, this would be better but I propose still to drop the link entirely. If you know the commit SHA which introduced this, mention it. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek 2023-04-24 13:28 ` Rob Herring 2023-04-24 13:53 ` Krzysztof Kozlowski @ 2023-05-04 4:22 ` Wolfram Sang 2 siblings, 0 replies; 12+ messages in thread From: Wolfram Sang @ 2023-05-04 4:22 UTC (permalink / raw) To: Stanislav Jakubek Cc: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui, Scott Branden, bcm-kernel-feedback-list, linux-i2c, linux-arm-kernel, devicetree, linux-kernel [-- Attachment #1: Type: text/plain, Size: 605 bytes --] On Sun, Apr 23, 2023 at 02:40:18PM +0200, Stanislav Jakubek wrote: > Convert Broadcom Kona family I2C bindings to DT schema. > > Changes during conversion: > - add used, but previously undocumented SoC-specific compatibles > - drop references to SoCs that are not upstream > - add supported clock frequencies according to the Linux driver [1] > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/i2c/busses/i2c-bcm-kona.c#n731 > > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> Applied to for-current with the link removed, thanks! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible 2023-04-23 12:39 [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Stanislav Jakubek 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek @ 2023-05-08 18:54 ` Florian Fainelli 1 sibling, 0 replies; 12+ messages in thread From: Florian Fainelli @ 2023-05-08 18:54 UTC (permalink / raw) To: bcm-kernel-feedback-list, Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Ray Jui, Scott Branden Cc: linux-i2c, linux-arm-kernel, devicetree, linux-kernel On Sun, 23 Apr 2023 14:39:12 +0200, Stanislav Jakubek <stano.jakubek@gmail.com> wrote: > Add BCM23550-specific compatible for brcm,kona-i2c nodes. While not > currently used by the i2c-bcm-kona driver, they can serve for further > customization, if required. > Done in preparation for dt-binding coversion to DT schema. > > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com> > --- Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! -- Florian ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-05-08 18:54 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-04-23 12:39 [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Stanislav Jakubek 2023-04-23 12:40 ` [PATCH v2 2/2] dt-bindings: i2c: brcm,kona-i2c: convert to YAML Stanislav Jakubek 2023-04-24 13:28 ` Rob Herring 2023-04-26 17:23 ` Stanislav Jakubek 2023-04-30 6:55 ` Wolfram Sang 2023-04-30 12:12 ` Krzysztof Kozlowski 2023-05-03 15:38 ` Wolfram Sang 2023-04-24 13:53 ` Krzysztof Kozlowski 2023-04-26 17:16 ` Stanislav Jakubek 2023-04-27 15:54 ` Krzysztof Kozlowski 2023-05-04 4:22 ` Wolfram Sang 2023-05-08 18:54 ` [PATCH v2 1/2] ARM: dts: bcm23550: Add SoC-specific I2C compatible Florian Fainelli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).