<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/maps/Kconfig, branch linux-5.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-01-20T08:19:19Z</updated>
<entry>
<title>mtd: fixup CFI on ixp4xx</title>
<updated>2022-01-20T08:19:19Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2021-09-27T14:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d40f6eeaf5130bb4b9a8c11f4c6e69f10c19f495'/>
<id>urn:sha1:d40f6eeaf5130bb4b9a8c11f4c6e69f10c19f495</id>
<content type='text'>
commit 603362b4a58393061dcfed1c7f0d0fd4aba61126 upstream.

drivers/mtd/maps/ixp4xx.c requires MTD_CFI_BE_BYTE_SWAP to be set
in order to compile.

drivers/mtd/maps/ixp4xx.c:57:4: error: #error CONFIG_MTD_CFI_BE_BYTE_SWAP required

This patch avoids the #error output by enforcing the policy in
Kconfig. Not sure if this is the right approach, but it helps doing
randconfig builds.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20210927141045.1597593-1-arnd@kernel.org
Cc: Anders Roxell &lt;anders.roxell@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>treewide: Add SPDX license identifier - Makefile/Kconfig</title>
<updated>2019-05-21T08:50:46Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-19T12:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1'/>
<id>urn:sha1:ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1</id>
<content type='text'>
Add SPDX license identifiers to all Make/Kconfig files which:

 - Have no license information of any form

These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:

  GPL-2.0-only

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mtd: maps: Allow MTD_PHYSMAP with MTD_RAM</title>
<updated>2019-05-06T19:47:01Z</updated>
<author>
<name>Chris Packham</name>
</author>
<published>2019-04-03T02:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d41970097f10d898cef0eb04bf53d786efd6bbbc'/>
<id>urn:sha1:d41970097f10d898cef0eb04bf53d786efd6bbbc</id>
<content type='text'>
When the physmap_of_core.c code was merged into physmap-core.c the
ability to use MTD_PHYSMAP_OF with only MTD_RAM selected was lost.
Restore this by adding MTD_RAM to the dependencies of MTD_PHYSMAP.

Fixes: commit 642b1e8dbed7 ("mtd: maps: Merge physmap_of.c into physmap-core.c")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Chris Packham &lt;chris.packham@alliedtelesis.co.nz&gt;
Reviewed-by: Hamish Martin &lt;hamish.martin@alliedtelesis.co.nz&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mtd: physmap_of_gemini: Handle pin control</title>
<updated>2018-12-06T15:57:13Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2018-11-27T20:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d3b5086f6d42e358f491e5d841750587f3d8cf3'/>
<id>urn:sha1:9d3b5086f6d42e358f491e5d841750587f3d8cf3</id>
<content type='text'>
This enables the complex mapping for the Gemini and kicks in
custom read/write functions that will wrap the existing
simple functions in calls to enable/disable the parallel
flash pins using pin controls.

This is necessary on some hardware such as the D-Link
DIR-685 where all flash pins are patched in/out at the same
time, but some of the flash pins are in practice unused by
the flash and have anyway been reused as GPIO.

This concerns specifically CE1 on the Gemini. There is only
one flash chip, so only CE0 is used, and the line for CE1
has been reused as chip select for the emulated SPI port
connected to the display. If we try to use the same lines
for flash and GPIO at the same time, one of them will loose:
the GPIO line will disappear because it gets disconnected
from the pin when the flash group is muxed out.

Fix this by introducing two pin control states named simply
"enabled" and "disabled" and only enable the flash lines
when absolutely necessary (during read/write/copy). This
way, they are available for GPIO at all other times and
the display works.

Collect all the state variables in a struct named
struct gemini_flash and allocate this struct at probe
time.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: Get rid of the latch-addr-flash driver</title>
<updated>2018-11-06T22:33:06Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-10-04T22:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d24dbd7541ff05617d4a14c579a09d33d66cf47f'/>
<id>urn:sha1:d24dbd7541ff05617d4a14c579a09d33d66cf47f</id>
<content type='text'>
Looks like this driver was initially added to support the NOR on the
DA830-EVM (Davinci) board, but the board file update was never merged.

Keeping unused drivers just adds to the maintenance burden, so let's
remove it if nobody uses it.

Cc: David Griego &lt;dgriego@mvista.com&gt;
Cc: Aleksey Makarov &lt;amakarov@ru.mvista.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Savinay Dharmappa &lt;savinay.dharmappa@ti.com&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Acked-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: Merge gpio-addr-flash.c into physmap-core.c</title>
<updated>2018-11-05T21:24:43Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-10-19T07:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba32ce95cbd9876eb7f5ec39af87829c8f13a337'/>
<id>urn:sha1:ba32ce95cbd9876eb7f5ec39af87829c8f13a337</id>
<content type='text'>
Controlling some MSB address lines using GPIOs is just a small
deviation from the generic physmap logic, and merging those two drivers
allows us to share most of the probe logic, which is a good thing.

Also, the gpio-addr-flash driver is unused since the removal of
the blackfin arch in v4.17, so we can safely remove the old driver
without risking breaking existing boards.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Tested-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: maps: Rename physmap_of_{versatile, gemini} into physmap-{versatile, gemini}</title>
<updated>2018-11-05T21:24:29Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-10-19T07:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ca15cfa0788ebef365ce31d1e01ea30a389a895'/>
<id>urn:sha1:6ca15cfa0788ebef365ce31d1e01ea30a389a895</id>
<content type='text'>
Now that the physmap_of driver is gone, the gemini and versative
extensions are part of the physmap driver. Rename the source files and
the config option to reflect this.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: maps: Merge physmap_of.c into physmap-core.c</title>
<updated>2018-11-05T21:24:24Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-10-19T07:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=642b1e8dbed7bbbf8c4deb3c9a0496f17278badc'/>
<id>urn:sha1:642b1e8dbed7bbbf8c4deb3c9a0496f17278badc</id>
<content type='text'>
There's no real reason to have two separate driver for the DT and pdata
case. Just do what we do everywhere else and handle DT and pdata
parsing in the same driver.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Ricardo Ribalda Delgado &lt;ricardo.ribalda@gmail.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>mtd: Make Kconfig formatting consistent</title>
<updated>2018-07-19T21:12:06Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-07-18T15:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8222a84cefa9d3595a14cf076bc8c09287bf16c'/>
<id>urn:sha1:a8222a84cefa9d3595a14cf076bc8c09287bf16c</id>
<content type='text'>
Fix indentation and replace '---help---' by 'help' to make things
consistent.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
</content>
</entry>
<entry>
<title>mtd: maps: remove bfin-async-flash driver</title>
<updated>2018-03-21T08:50:57Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2018-03-14T16:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5741a164ff6fb5abbea8548ad0f3846bad2b9aec'/>
<id>urn:sha1:5741a164ff6fb5abbea8548ad0f3846bad2b9aec</id>
<content type='text'>
The blackfin architecture is getting removed, so this driver
has become obsolete.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
</feed>
