From: Arnd Bergmann <arnd@arndb.de> To: Tomasz Figa <t.figa@samsung.com> Cc: linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, kyungmin.park@samsung.com, linux@simtec.co.uk, broonie@opensource.wolfsonmicro.com, kwangwoo.lee@gmail.com, jacmet@sunsite.dk, augulis.darius@gmail.com, mcuelenaere@gmail.com, linux@arm.linux.org.uk, sylvester.nawrocki@gmail.com, buserror@gmail.com, christer@weinigel.se, jekhor@gmail.com, ghcstop@gmail.com, mark.rutland@arm.com, tomasz.figa@gmail.com, heiko@sntech.de, robherring2@gmail.com, m.szyprowski@samsung.com, john.stultz@linaro.org, tglx@linutronix.de Subject: Re: [PATCH v5 03/14] clocksource: samsung-pwm: Add infrastructure to share PWM hardware Date: Fri, 12 Apr 2013 22:42:36 +0200 [thread overview] Message-ID: <201304122242.36801.arnd@arndb.de> (raw) In-Reply-To: <1365794250-14436-4-git-send-email-t.figa@samsung.com> On Friday 12 April 2013, Tomasz Figa wrote: > + > +Samsung SoCs contain PWM timer blocks which can be used for system clock source > +and clock event timers, as well as to drive SoC outputs with PWM signal. Each > +PWM timer block provides 5 PWM channels (not all of them can drive physical > +outputs - see SoC and board manual). > + ... > +Optional properties: > +- samsung,pwm-outputs: list of PWM channels used as PWM outputs on particular > + platform - an array of up to 5 elements being indices of PWM channels > + (from 0 to 4), the order does not matter. > + There is probably a good reason, but can you explain why this is actually required to be a property? Wouldn't it be enough to just not refer to the PWM outputs from other devices when they are not used? Arnd
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 03/14] clocksource: samsung-pwm: Add infrastructure to share PWM hardware Date: Fri, 12 Apr 2013 22:42:36 +0200 [thread overview] Message-ID: <201304122242.36801.arnd@arndb.de> (raw) In-Reply-To: <1365794250-14436-4-git-send-email-t.figa@samsung.com> On Friday 12 April 2013, Tomasz Figa wrote: > + > +Samsung SoCs contain PWM timer blocks which can be used for system clock source > +and clock event timers, as well as to drive SoC outputs with PWM signal. Each > +PWM timer block provides 5 PWM channels (not all of them can drive physical > +outputs - see SoC and board manual). > + ... > +Optional properties: > +- samsung,pwm-outputs: list of PWM channels used as PWM outputs on particular > + platform - an array of up to 5 elements being indices of PWM channels > + (from 0 to 4), the order does not matter. > + There is probably a good reason, but can you explain why this is actually required to be a property? Wouldn't it be enough to just not refer to the PWM outputs from other devices when they are not used? Arnd
next prev parent reply other threads:[~2013-04-12 20:42 UTC|newest] Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-12 19:17 [PATCH v5 00/14] ARM: samsung-time: Prepare for multiplatform support Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 01/14] ARM: SAMSUNG: Move samsung-time to drivers/clocksource Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa [not found] ` <1365794250-14436-2-git-send-email-t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2013-04-12 20:44 ` Arnd Bergmann 2013-04-12 20:44 ` Arnd Bergmann 2013-04-12 20:52 ` Tomasz Figa 2013-04-12 20:52 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 02/14] clocksource: samsung-pwm: Clean up platform header Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 03/14] clocksource: samsung-pwm: Add infrastructure to share PWM hardware Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 20:42 ` Arnd Bergmann [this message] 2013-04-12 20:42 ` Arnd Bergmann 2013-04-12 20:47 ` Tomasz Figa 2013-04-12 20:47 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 04/14] ARM: SAMSUNG: Unify base address definitions of timer block Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 05/14] ARM: SAMSUNG: Add new PWM platform device Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 06/14] ARM: SAMSUNG: Set PWM platform data Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 07/14] clocksource: samsung-pwm: Use platform data to setup the clocksource Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 08/14] clocksource: samsung-pwm: Synchronize register accesses Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 09/14] clocksource: samsung-pwm: Move IRQ mask/ack handling to the driver Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 10/14] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 11/14] clocksource: samsung-pwm: Configure dividers directly Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 12/14] clocksource: samsung-pwm: Do not use static mapping of registers Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 13/14] clocksource: samsung-pwm: Drop unnecessary includes Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 19:17 ` [PATCH v5 14/14] clocksource: samsung-pwm: Prepare for clocksource_of_init Tomasz Figa 2013-04-12 19:17 ` Tomasz Figa 2013-04-12 20:51 ` [PATCH v5 00/14] ARM: samsung-time: Prepare for multiplatform support Arnd Bergmann 2013-04-12 20:51 ` Arnd Bergmann 2013-04-22 17:37 ` Kukjin Kim 2013-04-22 17:37 ` Kukjin Kim 2013-04-22 19:21 ` Tomasz Figa 2013-04-22 19:21 ` Tomasz Figa 2013-04-12 22:22 ` Heiko Stübner 2013-04-12 22:22 ` Heiko Stübner 2013-04-12 22:26 ` Arnd Bergmann 2013-04-12 22:26 ` Arnd Bergmann 2013-04-12 22:39 ` Heiko Stübner 2013-04-12 22:39 ` Heiko Stübner 2013-04-12 22:42 ` Tomasz Figa 2013-04-12 22:42 ` Tomasz Figa 2013-04-13 12:28 ` Tomasz Figa 2013-04-13 12:28 ` Tomasz Figa 2013-04-16 16:22 ` Mark Brown 2013-04-16 16:22 ` Mark Brown 2013-04-16 20:51 ` Sylwester Nawrocki 2013-04-16 20:51 ` Sylwester Nawrocki
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=201304122242.36801.arnd@arndb.de \ --to=arnd@arndb.de \ --cc=augulis.darius@gmail.com \ --cc=broonie@opensource.wolfsonmicro.com \ --cc=buserror@gmail.com \ --cc=christer@weinigel.se \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=ghcstop@gmail.com \ --cc=heiko@sntech.de \ --cc=jacmet@sunsite.dk \ --cc=jekhor@gmail.com \ --cc=john.stultz@linaro.org \ --cc=kgene.kim@samsung.com \ --cc=kwangwoo.lee@gmail.com \ --cc=kyungmin.park@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=linux@simtec.co.uk \ --cc=m.szyprowski@samsung.com \ --cc=mark.rutland@arm.com \ --cc=mcuelenaere@gmail.com \ --cc=robherring2@gmail.com \ --cc=sylvester.nawrocki@gmail.com \ --cc=t.figa@samsung.com \ --cc=tglx@linutronix.de \ --cc=tomasz.figa@gmail.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.