From: Sam Protsenko <semen.protsenko@linaro.org> To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Cc: Rob Herring <robh+dt@kernel.org>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Jaewon Kim <jaewon02.kim@samsung.com>, Chanho Park <chanho61.park@samsung.com>, David Virag <virag.david003@gmail.com>, Youngmin Nam <youngmin.nam@samsung.com>, Tomasz Figa <tomasz.figa@gmail.com>, Chanwoo Choi <cw00.choi@samsung.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Daniel Palmer <daniel@0x0f.com>, Hao Fang <fanghao11@huawei.com>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 6/7] arm64: dts: exynos: Add initial Exynos850 SoC support Date: Fri, 17 Dec 2021 17:56:24 +0200 [thread overview] Message-ID: <CAPLW+4n+iVwhVB06vwBKxesaeuRo0kgXEZvqPQo6RbOiZO3Vbw@mail.gmail.com> (raw) In-Reply-To: <73c5a527-2d5d-8524-b067-f9128055ff10@canonical.com> On Fri, 17 Dec 2021 at 10:21, Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> wrote: > > On 16/12/2021 20:40, Sam Protsenko wrote: > > On Wed, 15 Dec 2021 at 18:47, Krzysztof Kozlowski > > <krzysztof.kozlowski@canonical.com> wrote: > >> > > (...) > > >>> + serial0 = &serial_0; > >>> + serial1 = &serial_1; > >>> + serial2 = &serial_2; > >>> + i2c0 = &i2c_0; > >>> + i2c1 = &i2c_1; > >>> + i2c2 = &i2c_2; > >>> + i2c3 = &i2c_3; > >>> + i2c4 = &i2c_4; > >>> + i2c5 = &i2c_5; > >>> + i2c6 = &i2c_6; > >>> + i2c7 = &hsi2c_0; > >>> + i2c8 = &hsi2c_1; > >>> + i2c9 = &hsi2c_2; > >>> + i2c10 = &hsi2c_3; > >>> + i2c11 = &hsi2c_4; > >>> + }; > >>> + > >>> + arm-pmu { > >>> + compatible = "arm,cortex-a55-pmu"; > >>> + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; > >>> + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, > >>> + <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; > >>> + }; > >>> + > >>> + /* Main system clock (XTCXO); external, must be 26 MHz */ > >>> + oscclk: clock-oscclk { > >>> + compatible = "fixed-clock"; > >>> + clock-output-names = "oscclk"; > >>> + #clock-cells = <0>; > >>> + }; > >>> + > >>> + /* RTC clock (XrtcXTI); external, must be 32.768 kHz */ > >> > >> This clock is usually provided by PMIC, so instead I expect updating > >> s2mps11-clk driver. It's not correct to mock it with fixed-clock, but in > >> some cases might be needed. Then I would need an explanation and maybe a > >> TODO note. > >> > >> I wonder if we already discussed this... > >> > > > > Don't really remember discussing that. That's actually something new > > for me :) I was planning to add PMIC support as a part of separate > > activity later, it might not be so easy: S2MPU12 uses I3C connection. > > And RTC clock is not handled even in downstream kernel. So I'll have > > to implement that by PMIC datasheet. I'll keep some TODO comment for > > now, hope it's ok with you? > > Assuming it is really coming from the PMIC (should be visible in the > board schematics), it should be using s2mps11-clk. I am fine with > keeping fixed-clock now + TODO note, but please move it to the board > DTS. It's not the property of the SoC. > Yes, I checked, RTC clock is coming from PMIC. Moved "rtcclk" clock to board file, and corresponding clock properties for "rtc" and "cmu_hsi" nodes as well. Will send v4 soon. > > > >>> + rtcclk: clock-rtcclk {> + compatible = "fixed-clock"; > >>> + clock-output-names = "rtcclk"; > >>> + #clock-cells = <0>; > >>> + }; > >>> + > > > Best regards, > Krzysztof
WARNING: multiple messages have this Message-ID (diff)
From: Sam Protsenko <semen.protsenko@linaro.org> To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Cc: Rob Herring <robh+dt@kernel.org>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Jaewon Kim <jaewon02.kim@samsung.com>, Chanho Park <chanho61.park@samsung.com>, David Virag <virag.david003@gmail.com>, Youngmin Nam <youngmin.nam@samsung.com>, Tomasz Figa <tomasz.figa@gmail.com>, Chanwoo Choi <cw00.choi@samsung.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Daniel Palmer <daniel@0x0f.com>, Hao Fang <fanghao11@huawei.com>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 6/7] arm64: dts: exynos: Add initial Exynos850 SoC support Date: Fri, 17 Dec 2021 17:56:24 +0200 [thread overview] Message-ID: <CAPLW+4n+iVwhVB06vwBKxesaeuRo0kgXEZvqPQo6RbOiZO3Vbw@mail.gmail.com> (raw) In-Reply-To: <73c5a527-2d5d-8524-b067-f9128055ff10@canonical.com> On Fri, 17 Dec 2021 at 10:21, Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> wrote: > > On 16/12/2021 20:40, Sam Protsenko wrote: > > On Wed, 15 Dec 2021 at 18:47, Krzysztof Kozlowski > > <krzysztof.kozlowski@canonical.com> wrote: > >> > > (...) > > >>> + serial0 = &serial_0; > >>> + serial1 = &serial_1; > >>> + serial2 = &serial_2; > >>> + i2c0 = &i2c_0; > >>> + i2c1 = &i2c_1; > >>> + i2c2 = &i2c_2; > >>> + i2c3 = &i2c_3; > >>> + i2c4 = &i2c_4; > >>> + i2c5 = &i2c_5; > >>> + i2c6 = &i2c_6; > >>> + i2c7 = &hsi2c_0; > >>> + i2c8 = &hsi2c_1; > >>> + i2c9 = &hsi2c_2; > >>> + i2c10 = &hsi2c_3; > >>> + i2c11 = &hsi2c_4; > >>> + }; > >>> + > >>> + arm-pmu { > >>> + compatible = "arm,cortex-a55-pmu"; > >>> + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, > >>> + <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; > >>> + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, > >>> + <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; > >>> + }; > >>> + > >>> + /* Main system clock (XTCXO); external, must be 26 MHz */ > >>> + oscclk: clock-oscclk { > >>> + compatible = "fixed-clock"; > >>> + clock-output-names = "oscclk"; > >>> + #clock-cells = <0>; > >>> + }; > >>> + > >>> + /* RTC clock (XrtcXTI); external, must be 32.768 kHz */ > >> > >> This clock is usually provided by PMIC, so instead I expect updating > >> s2mps11-clk driver. It's not correct to mock it with fixed-clock, but in > >> some cases might be needed. Then I would need an explanation and maybe a > >> TODO note. > >> > >> I wonder if we already discussed this... > >> > > > > Don't really remember discussing that. That's actually something new > > for me :) I was planning to add PMIC support as a part of separate > > activity later, it might not be so easy: S2MPU12 uses I3C connection. > > And RTC clock is not handled even in downstream kernel. So I'll have > > to implement that by PMIC datasheet. I'll keep some TODO comment for > > now, hope it's ok with you? > > Assuming it is really coming from the PMIC (should be visible in the > board schematics), it should be using s2mps11-clk. I am fine with > keeping fixed-clock now + TODO note, but please move it to the board > DTS. It's not the property of the SoC. > Yes, I checked, RTC clock is coming from PMIC. Moved "rtcclk" clock to board file, and corresponding clock properties for "rtc" and "cmu_hsi" nodes as well. Will send v4 soon. > > > >>> + rtcclk: clock-rtcclk {> + compatible = "fixed-clock"; > >>> + clock-output-names = "rtcclk"; > >>> + #clock-cells = <0>; > >>> + }; > >>> + > > > Best regards, > Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-12-17 15:56 UTC|newest] Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-15 16:08 [PATCH 0/7] arm64: dts: exynos: Add E850-96 board support Sam Protsenko 2021-12-15 16:08 ` Sam Protsenko 2021-12-15 16:09 ` [PATCH 1/7] dt-bindings: clock: exynos850: Add bindings for Exynos850 sysreg clocks Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-15 16:11 ` Krzysztof Kozlowski 2021-12-15 16:11 ` Krzysztof Kozlowski 2021-12-16 7:03 ` Chanwoo Choi 2021-12-16 7:03 ` Chanwoo Choi 2021-12-16 17:48 ` Rob Herring 2021-12-16 17:48 ` Rob Herring 2021-12-16 19:47 ` Sam Protsenko 2021-12-16 19:47 ` Sam Protsenko 2021-12-15 16:09 ` [PATCH 2/7] clk: samsung: exynos850: Add missing " Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-15 16:12 ` Krzysztof Kozlowski 2021-12-15 16:12 ` Krzysztof Kozlowski 2021-12-16 7:04 ` Chanwoo Choi 2021-12-16 7:04 ` Chanwoo Choi 2021-12-15 16:09 ` [PATCH 3/7] dt-bindings: Add vendor prefix for WinLink Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-16 20:24 ` Rob Herring 2021-12-16 20:24 ` Rob Herring 2021-12-15 16:09 ` [PATCH 4/7] dt-bindings: arm: samsung: Document E850-96 board binding Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-15 16:14 ` Krzysztof Kozlowski 2021-12-15 16:14 ` Krzysztof Kozlowski 2021-12-15 16:22 ` Krzysztof Kozlowski 2021-12-15 16:22 ` Krzysztof Kozlowski 2021-12-15 16:09 ` [PATCH 5/7] dt-bindings: pinctrl: samsung: Add pin drive definitions for Exynos850 Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-16 20:25 ` Rob Herring 2021-12-16 20:25 ` Rob Herring 2021-12-15 16:09 ` [PATCH 6/7] arm64: dts: exynos: Add initial Exynos850 SoC support Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-15 16:47 ` Krzysztof Kozlowski 2021-12-15 16:47 ` Krzysztof Kozlowski 2021-12-16 19:40 ` Sam Protsenko 2021-12-16 19:40 ` Sam Protsenko 2021-12-17 8:21 ` Krzysztof Kozlowski 2021-12-17 8:21 ` Krzysztof Kozlowski 2021-12-17 15:56 ` Sam Protsenko [this message] 2021-12-17 15:56 ` Sam Protsenko 2021-12-17 3:13 ` Chanho Park 2021-12-17 3:13 ` Chanho Park 2021-12-17 15:54 ` Sam Protsenko 2021-12-17 15:54 ` Sam Protsenko 2021-12-17 16:46 ` Alim Akhtar 2021-12-17 16:46 ` Alim Akhtar 2021-12-18 10:37 ` Krzysztof Kozlowski 2021-12-18 10:37 ` Krzysztof Kozlowski 2021-12-15 16:09 ` [PATCH 7/7] arm64: dts: exynos: Add initial E850-96 board support Sam Protsenko 2021-12-15 16:09 ` Sam Protsenko 2021-12-15 17:01 ` Krzysztof Kozlowski 2021-12-15 17:01 ` Krzysztof Kozlowski 2021-12-16 23:39 ` Sam Protsenko 2021-12-16 23:39 ` Sam Protsenko 2021-12-15 17:04 ` Krzysztof Kozlowski 2021-12-15 17:04 ` Krzysztof Kozlowski 2021-12-17 0:49 ` Sam Protsenko 2021-12-17 0:49 ` Sam Protsenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAPLW+4n+iVwhVB06vwBKxesaeuRo0kgXEZvqPQo6RbOiZO3Vbw@mail.gmail.com \ --to=semen.protsenko@linaro.org \ --cc=chanho61.park@samsung.com \ --cc=cw00.choi@samsung.com \ --cc=daniel@0x0f.com \ --cc=devicetree@vger.kernel.org \ --cc=fanghao11@huawei.com \ --cc=jaewon02.kim@samsung.com \ --cc=krzysztof.kozlowski@canonical.com \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=mturquette@baylibre.com \ --cc=robh+dt@kernel.org \ --cc=s.nawrocki@samsung.com \ --cc=sboyd@kernel.org \ --cc=tomasz.figa@gmail.com \ --cc=virag.david003@gmail.com \ --cc=youngmin.nam@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.