From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?utf-8?q?St=C3=BCbner?= Subject: [PATCH v2 0/6] Convert S3C2416 ad S3C2443 to common clock framework Date: Wed, 10 Jul 2013 00:57:05 +0200 Message-ID: <201307100057.06061.heiko@sntech.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from gloria.sntech.de ([95.129.55.99]:44488 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752209Ab3GIW5M (ORCPT ); Tue, 9 Jul 2013 18:57:12 -0400 Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Kukjin Kim Cc: mturquette@linaro.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Thomas Abraham , t.figa@samsung.com, Russell King This series provides a clock driver for s3c2416, s3c2443 and s3c2450, which share a common clock tree, but differ fundamentally from earlier s3c24xx SoCs, and converts the mentioned SoCs to use it. The clock driver itself follows the same scheme established by all other Samsung clock drivers. It depends on the pwm cleanup series from Tomasz Figa, which gets rid of the declarations of the pwm-internal clocks. Test on both non-dt and dt s3c2416. Heiko Stuebner (6): clk: samsung: move common plls registration into separate function clk: samsung: fix error handling in pll register functions clk: samsung: add plls used in s3c2416 and s3c2443 ARM: S3C24XX: enable legacy clock code only when SAMSUNG_CLOCK selected clk: samsung: add clock-driver for s3c2416, s3c2443 and s3c2450 ARM: S3C24XX: Convert s3c2416 and s3c2443 to common clock framework .../bindings/clock/samsung,s3c2443-clock.txt | 48 ++ arch/arm/boot/dts/s3c2416-smdk2416.dts | 7 + arch/arm/boot/dts/s3c2416.dtsi | 42 ++ arch/arm/mach-s3c24xx/Kconfig | 14 +- arch/arm/mach-s3c24xx/Makefile | 5 +- arch/arm/mach-s3c24xx/clock-s3c2416.c | 171 ----- arch/arm/mach-s3c24xx/clock-s3c2443.c | 212 ------ arch/arm/mach-s3c24xx/common-s3c2443.c | 675 -------------------- arch/arm/mach-s3c24xx/common.c | 20 +- arch/arm/mach-s3c24xx/common.h | 8 + arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 45 +- arch/arm/mach-s3c24xx/mach-smdk2416.c | 9 +- arch/arm/mach-s3c24xx/mach-smdk2443.c | 9 +- drivers/clk/Kconfig | 1 + drivers/clk/samsung/Kconfig | 2 + drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-pll.c | 374 +++++++++-- drivers/clk/samsung/clk-pll.h | 8 + drivers/clk/samsung/clk-s3c2443.c | 422 ++++++++++++ include/dt-bindings/clock/samsung,s3c2443-clock.h | 96 +++ 20 files changed, 998 insertions(+), 1171 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2416.c delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2443.c delete mode 100644 arch/arm/mach-s3c24xx/common-s3c2443.c create mode 100644 drivers/clk/samsung/Kconfig create mode 100644 drivers/clk/samsung/clk-s3c2443.c create mode 100644 include/dt-bindings/clock/samsung,s3c2443-clock.h -- 1.7.10.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?utf-8?q?St=C3=BCbner?=) Date: Wed, 10 Jul 2013 00:57:05 +0200 Subject: [PATCH v2 0/6] Convert S3C2416 ad S3C2443 to common clock framework Message-ID: <201307100057.06061.heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This series provides a clock driver for s3c2416, s3c2443 and s3c2450, which share a common clock tree, but differ fundamentally from earlier s3c24xx SoCs, and converts the mentioned SoCs to use it. The clock driver itself follows the same scheme established by all other Samsung clock drivers. It depends on the pwm cleanup series from Tomasz Figa, which gets rid of the declarations of the pwm-internal clocks. Test on both non-dt and dt s3c2416. Heiko Stuebner (6): clk: samsung: move common plls registration into separate function clk: samsung: fix error handling in pll register functions clk: samsung: add plls used in s3c2416 and s3c2443 ARM: S3C24XX: enable legacy clock code only when SAMSUNG_CLOCK selected clk: samsung: add clock-driver for s3c2416, s3c2443 and s3c2450 ARM: S3C24XX: Convert s3c2416 and s3c2443 to common clock framework .../bindings/clock/samsung,s3c2443-clock.txt | 48 ++ arch/arm/boot/dts/s3c2416-smdk2416.dts | 7 + arch/arm/boot/dts/s3c2416.dtsi | 42 ++ arch/arm/mach-s3c24xx/Kconfig | 14 +- arch/arm/mach-s3c24xx/Makefile | 5 +- arch/arm/mach-s3c24xx/clock-s3c2416.c | 171 ----- arch/arm/mach-s3c24xx/clock-s3c2443.c | 212 ------ arch/arm/mach-s3c24xx/common-s3c2443.c | 675 -------------------- arch/arm/mach-s3c24xx/common.c | 20 +- arch/arm/mach-s3c24xx/common.h | 8 + arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 45 +- arch/arm/mach-s3c24xx/mach-smdk2416.c | 9 +- arch/arm/mach-s3c24xx/mach-smdk2443.c | 9 +- drivers/clk/Kconfig | 1 + drivers/clk/samsung/Kconfig | 2 + drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-pll.c | 374 +++++++++-- drivers/clk/samsung/clk-pll.h | 8 + drivers/clk/samsung/clk-s3c2443.c | 422 ++++++++++++ include/dt-bindings/clock/samsung,s3c2443-clock.h | 96 +++ 20 files changed, 998 insertions(+), 1171 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2416.c delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2443.c delete mode 100644 arch/arm/mach-s3c24xx/common-s3c2443.c create mode 100644 drivers/clk/samsung/Kconfig create mode 100644 drivers/clk/samsung/clk-s3c2443.c create mode 100644 include/dt-bindings/clock/samsung,s3c2443-clock.h -- 1.7.10.4