Hi Vinod,
Tanks for your comments. Actually, fsl-lpuart driver is done the way you
propose to rework this one. I'll consider this during my work on the
second iteration.
On Wed, 24 Jun 2015, Vinod Koul wrote:
On Tue, Jun 23, 2015 at 11:19:46PM +0200, Paul Osmialowski wrote:
Surprisingly
Hi Paul,
Thanks for your comments. I'll make it tristate.
On Wed, 24 Jun 2015, Paul Bolle wrote:
On Tue, 2015-06-23 at 23:19 +0200, Paul Osmialowski wrote:
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
+config PINCTRL_KINETIS
+ bool Kinetis pinctrl
Hi Stephen,
Thanks for the valuable input - all of those points are now on my
checklist for the work on the second iteration of this patchset.
On Tue, 23 Jun 2015, Stephen Boyd wrote:
On 06/23/2015 02:19 PM, Paul Osmialowski wrote:
diff --git a/drivers/clk/clk-kinetis.c b/drivers/clk/clk
, Paul Osmialowski wrote:
This one is inspired by two commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
1) 6302b692f570ff9d5645a6e72c11f87b0c1aa409
RT #62654. Fixed kernel crashes while running httpd by enabling
"-mfix-cortex-m3-ldrd" compi
Hi Arnd,
Thanks for all of your input. Your comments will all be considered during
my works on the second iteration of this patchset.
On Wed, 24 Jun 2015, Arnd Bergmann wrote:
On Tuesday 23 June 2015 23:19:43 Paul Osmialowski wrote:
@@ -1740,7 +1752,7 @@ source "mm/Kconfig&quo
Based on K70P256M150SF3RM.pdf
Signed-off-by: Paul Osmialowski
---
.../devicetree/bindings/clock/kinetis-clock.txt| 25 ++
.../bindings/timer/fsl,kinetis-pit-timer.txt | 18 ++
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/kinetis-twr-k70f120m.dts
This is very cheap and simple implementation of pinctrl driver
for Kinetis SoC - its primary role is to provide means for enabling UART
fuctionality on I/O PORT_E which will be utilized by the commits
yet to come.
Signed-off-by: Paul Osmialowski
---
.../bindings/pinctrl/fsl,kinetis-pinctrl.txt
Some SoCs need additional actions to be performed after arch idle,
e.g. Kinetis requires invalidation of the I/D bus cache.
Such handler could be held in provided header file.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig | 7 +++
arch/arm/kernel/process.c | 7 +++
2
nly "-mcpu=cortex-m3" to make
sure only the correct instructions will be generated.
by: Sergei Poselenov
I reworked these patches to make them less intrusive.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig| 2 +-
arch/arm/Makefile | 1 +
arch/arm/mm/Kconfig | 11 ++-
ine myself doing all this stuff
without it.
Paul Osmialowski (9):
arm: select different compiler flags for ARM CortexM3
arm: do not place huge encoder tables on stack when it is too small
arm: add call to CPU idle quirks handler
arm: allow copying of vector table to internal SRAM memory
Since stack on Cortex-M3 is too small, we need configuration option
to avoid using it for huge encoder tables of zlib.
Signed-off-by: Paul Osmialowski
---
arch/arm/Kconfig-nommu | 4
lib/zlib_inflate/inflate.c | 5 +
2 files changed, 9 insertions(+)
diff --git a/arch/arm/Kconfig
This one is inspired a serie by commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
Entry commit: f014da1df860ad702d923c95cb97e068bd302cb0
RT75957. twr-k70f120m: basic support
by: Alexander Potashev
Signed-off-by: Paul Osmialowski
---
Documentation
that enabling tx DMA resulted in messy output, so I didn't configure
it in the .dts file - however nothing in the code prevents one from doing
so. Also note that original reference UART driver did not implement tx DMA
at all.
Signed-off-by: Paul Osmialowski
---
.../devicetree/bindings/serial/fsl-lpuart.txt
.
Signed-off-by: Paul Osmialowski
---
Documentation/devicetree/bindings/dma/fsl-edma.txt | 38 +-
arch/arm/Kconfig | 4 ++
arch/arm/boot/dts/kinetis.dtsi | 34 +
arch/arm/mach-kinetis/include/mach/memory.h| 61
RAM memory, controlled
by Bit 29 in the Vector Table Base register. This implies
that the OS vector table needs to be copied to the internal RAM.
New option CONFIG_COPY_VECTOR_TABLE_TO_SRAM_ADDR allows specification
of the desired destination for the OS vector table.
Signed-off-by: Paul Osmialowski
This one is inspired a serie by commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
Entry commit: f014da1df860ad702d923c95cb97e068bd302cb0
RT75957. twr-k70f120m: basic support
by: Alexander Potashev aspotas...@emcraft.com
Signed-off-by: Paul Osmialowski
=cortex-m3 to make
sure only the correct instructions will be generated.
by: Sergei Poselenov sposele...@emcraft.com
I reworked these patches to make them less intrusive.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
arch/arm/Kconfig| 2 +-
arch/arm/Makefile | 1 +
arch/arm/mm
...@emcraft.com
Note that enabling tx DMA resulted in messy output, so I didn't configure
it in the .dts file - however nothing in the code prevents one from doing
so. Also note that original reference UART driver did not implement tx DMA
at all.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
functions.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
Documentation/devicetree/bindings/dma/fsl-edma.txt | 38 +-
arch/arm/Kconfig | 4 ++
arch/arm/boot/dts/kinetis.dtsi | 34 +
arch/arm/mach-kinetis/include/mach
myself doing all this stuff
without it.
Paul Osmialowski (9):
arm: select different compiler flags for ARM CortexM3
arm: do not place huge encoder tables on stack when it is too small
arm: add call to CPU idle quirks handler
arm: allow copying of vector table to internal SRAM memory
arm
Since stack on Cortex-M3 is too small, we need configuration option
to avoid using it for huge encoder tables of zlib.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
arch/arm/Kconfig-nommu | 4
lib/zlib_inflate/inflate.c | 5 +
2 files changed, 9 insertions(+)
diff --git
or in the internal SRAM memory, controlled
by Bit 29 in the Vector Table Base register. This implies
that the OS vector table needs to be copied to the internal RAM.
New option CONFIG_COPY_VECTOR_TABLE_TO_SRAM_ADDR allows specification
of the desired destination for the OS vector table.
Signed-off-by: Paul
Some SoCs need additional actions to be performed after arch idle,
e.g. Kinetis requires invalidation of the I/D bus cache.
Such handler could be held in provided mach/idle.h header file.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
arch/arm/Kconfig | 7 +++
arch/arm
This is very cheap and simple implementation of pinctrl driver
for Kinetis SoC - its primary role is to provide means for enabling UART
fuctionality on I/O PORT_E which will be utilized by the commits
yet to come.
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
.../bindings/pinctrl/fsl
Based on K70P256M150SF3RM.pdf
Signed-off-by: Paul Osmialowski paw...@king.net.pl
---
.../devicetree/bindings/clock/kinetis-clock.txt| 25 ++
.../bindings/timer/fsl,kinetis-pit-timer.txt | 18 ++
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/kinetis-twr
Hi Stephen,
Thanks for the valuable input - all of those points are now on my
checklist for the work on the second iteration of this patchset.
On Tue, 23 Jun 2015, Stephen Boyd wrote:
On 06/23/2015 02:19 PM, Paul Osmialowski wrote:
diff --git a/drivers/clk/clk-kinetis.c b/drivers/clk/clk
Hi Arnd,
Thanks for all of your input. Your comments will all be considered during
my works on the second iteration of this patchset.
On Wed, 24 Jun 2015, Arnd Bergmann wrote:
On Tuesday 23 June 2015 23:19:43 Paul Osmialowski wrote:
@@ -1740,7 +1752,7 @@ source mm/Kconfig
config
, Paul Osmialowski wrote:
This one is inspired by two commits published on Emcraft git repo:
https://github.com/EmcraftSystems/linux-emcraft.git
1) 6302b692f570ff9d5645a6e72c11f87b0c1aa409
RT #62654. Fixed kernel crashes while running httpd by enabling
-mfix-cortex-m3-ldrd compiler option, which
Hi,
First of all, I'm sorry for this no-subject covering letter. Accidents
never happen only in a perfect world.
On Wed, 25 Mar 2015, David Herrmann wrote:
I'd prefer if we only move the required structure definitions into a
separate header. There is no reason to export all internal entry
These headers are required to implement LSM hooks for kdbus
and possibly other things that might deal with kdbus.
Signed-off-by: Paul Osmialowski
---
include/linux/kdbus/bus.h| 101 +++
include/linux/kdbus/connection.h | 257 +++
include
This humble patch for linux-next is a first small step towards further attempts
to add LSM hooks for kdbus. In order to implement useful callbacks within given
LSM (SMACK, SELinux) knowledge about kdbus structures defined in these headers
must be easily accessible. Therefore these headers must be
This humble patch for linux-next is a first small step towards further attempts
to add LSM hooks for kdbus. In order to implement useful callbacks within given
LSM (SMACK, SELinux) knowledge about kdbus structures defined in these headers
must be easily accessible. Therefore these headers must be
These headers are required to implement LSM hooks for kdbus
and possibly other things that might deal with kdbus.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
include/linux/kdbus/bus.h| 101 +++
include/linux/kdbus/connection.h | 257
Hi,
First of all, I'm sorry for this no-subject covering letter. Accidents
never happen only in a perfect world.
On Wed, 25 Mar 2015, David Herrmann wrote:
I'd prefer if we only move the required structure definitions into a
separate header. There is no reason to export all internal entry
k);
Note that since sdhci_s3c_set_clock() sets SDHCI_CLOCK_CARD_EN, proposed change
first resets this bit. It is reset anyway (by setting SDHCI_CLOCK_INT_EN bit
only) after call to clk_set_rate() in order to wait for the clock to stabilize
and is set again as soon as the clock becomes stable.
Signed-off
bit
only) after call to clk_set_rate() in order to wait for the clock to stabilize
and is set again as soon as the clock becomes stable.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
drivers/mmc/host/sdhci-s3c.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc
On Mon, 19 Jan 2015, Mark Brown wrote:
On Mon, Jan 19, 2015 at 10:31:22AM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
What I'm saying is that I want to understand this change from a point of
view that isn't tied to I2C - at the regmap level what is this doing
On Mon, 19 Jan 2015, Mark Brown wrote:
On Mon, Jan 19, 2015 at 10:31:22AM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
What I'm saying is that I want to understand this change from a point of
view that isn't tied to I2C - at the regmap level what is this doing
've replaced this call with clk_disable() and
I've added clk_unprepare() call in s3c24xx_i2c_remove().
The s3c24xx_i2c_xfer() function now uses clk_enable() instead of
clk_prepare_enable() (and clk_disable() instead of clk_unprepare_disable()).
Signed-off-by: Paul Osmialowski
---
drivers/i2c/bus
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 06:36:14PM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
I don't know what this means, sorry. I'm also very worried about the
fact that this is being discussed purely in terms of I2C - why would
() and
I've added clk_unprepare() call in s3c24xx_i2c_remove().
The s3c24xx_i2c_xfer() function now uses clk_enable() instead of
clk_prepare_enable() (and clk_disable() instead of clk_unprepare_disable()).
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
drivers/i2c/busses/i2c-s3c2410.c
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 06:36:14PM +0100, Paul Osmialowski wrote:
On Fri, 16 Jan 2015, Mark Brown wrote:
I don't know what this means, sorry. I'm also very worried about the
fact that this is being discussed purely in terms of I2C - why would
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 03:39:53PM +0100, Paul Osmialowski wrote:
This uses the enhancement of i2c API in order to address following problem
caused by circular lock dependency:
Please don't just dump enormous backtraces into commit messages
her places:
old behaviour is kept preserved. Anyone who requires this new way of using i2c
transfer can adapt their drivers voluntarily.
Separate commit adapts regmap to use this new feature.
Signed-off-by: Paul Osmialowski
---
Documentation/i2c/writing-clients | 15 ++
drivers/i2c/i2c-core.c
This adopts i2c-s3c2410 driver for new enhancement of i2c API that
exposes preparation and unpreparation stages of i2c transfer.
Signed-off-by: Paul Osmialowski
---
drivers/i2c/busses/i2c-s3c2410.c | 69
1 file changed, 63 insertions(+), 6 deletions
ed i2c transfer
preparation and unpreparation stages.
Note that this change does not require modifications in other places.
Signed-off-by: Paul Osmialowski
---
drivers/base/regmap/internal.h | 2 +
drivers/base/regmap/regmap-i2c.c | 18 +++
drivers/base/regmap/reg
k);
Note that since sdhci_s3c_set_clock() sets SDHCI_CLOCK_CARD_EN, proposed change
first resets this bit. It is reset anyway (by setting SDHCI_CLOCK_INT_EN bit
only) after call to clk_set_rate() in order to wait for the clock to stabilize
and is set again as soon as the clock becomes stable.
Signed-off
On Fri, 16 Jan 2015, Mark Brown wrote:
On Fri, Jan 16, 2015 at 03:39:53PM +0100, Paul Osmialowski wrote:
This uses the enhancement of i2c API in order to address following problem
caused by circular lock dependency:
Please don't just dump enormous backtraces into commit messages
only) after call to clk_set_rate() in order to wait for the clock to stabilize
and is set again as soon as the clock becomes stable.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
drivers/mmc/host/sdhci-s3c.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc
-i2c make use of exposed i2c transfer
preparation and unpreparation stages.
Note that this change does not require modifications in other places.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
drivers/base/regmap/internal.h | 2 +
drivers/base/regmap/regmap-i2c.c | 18
This adopts i2c-s3c2410 driver for new enhancement of i2c API that
exposes preparation and unpreparation stages of i2c transfer.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
drivers/i2c/busses/i2c-s3c2410.c | 69
1 file changed, 63
modifications in other places:
old behaviour is kept preserved. Anyone who requires this new way of using i2c
transfer can adapt their drivers voluntarily.
Separate commit adapts regmap to use this new feature.
Signed-off-by: Paul Osmialowski p.osmialo...@samsung.com
---
Documentation/i2c/writing-clients
201 - 252 of 252 matches
Mail list logo