From: Pantelis Antoniou <panto@antoniou-consulting.com> To: Tony Lindgren <tony@atomide.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com>, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, Koen Kooi <koen@dominion.thruhere.net>, Matt Porter <mporter@ti.com>, Russ Dill <Russ.Dill@ti.com>, linux-omap@vger.kernel.org Subject: [RFC 0/7] Capebus; a bus for SoCs using simple expansion connectors Date: Wed, 31 Oct 2012 18:52:06 +0200 [thread overview] Message-ID: <1351702333-8456-1-git-send-email-panto@antoniou-consulting.com> (raw) Capebus is created to address the problem of many SoCs that can provide a multitude of hardware interfaces but in order to keep costs down the main boards only support a limited number of them. The rest are typically brought out to pin connectors on to which other boards, named capes are connected and allow those peripherals to be used. These capes connect to the SoC interfaces but might also contain various other parts that may need some kind of driver to work. Since SoCs have limited pins and pin muxing options, not all capes can work together so some kind of resource tracking (at least for the pins in use) is required. Before capebus all of this took place in the board support file, and frankly for boards with too many capes it was becoming unmanageable. Capebus provides a virtual bus, which along with a board specific controller, cape drivers can be written using the standard Linux device model. The core capebus infrastructure is not depended on any specific board. However capebus needs a board controller to provide services to the cape devices it controls. Services like addressing and resource reservation are provided by the board controller. Capebus at the moment only support TI's Beaglebone platform. This RFC introduces the core concept; most supporting patches have been posted to the relevant places. If you have a beaglebone and want to check it out, you can do so at: git://github.com/pantoniou/linux-bbxm.git branch capebus-v3 Pantelis Antoniou (7): capebus: Core capebus support capebus: Add beaglebone board support capebus: Beaglebone generic cape support capebus: Beaglebone geiger cape support capebus: Beaglebone capebus DT update capebus: Document DT bindings capebus: Documentation; capebus-summary Documentation/capebus/capebus-summary | 40 + .../capebus/bone-capebus-slot-override.txt | 28 + .../devicetree/bindings/capebus/bone-capebus.txt | 50 ++ .../bindings/capebus/bone-geiger-cape.txt | 78 ++ .../bindings/capebus/bone-generic-cape.txt | 97 +++ .../devicetree/bindings/capebus/da8xx-dt.txt | 31 + .../devicetree/bindings/capebus/i2c-dt.txt | 42 + .../devicetree/bindings/capebus/spi-dt.txt | 37 + .../devicetree/bindings/capebus/ti-tscadc-dt.txt | 34 + arch/arm/boot/dts/am335x-bone-common.dtsi | 689 ++++++++++++++- drivers/Kconfig | 2 + drivers/Makefile | 3 + drivers/capebus/Kconfig | 17 + drivers/capebus/Makefile | 8 + drivers/capebus/boards/Kconfig | 6 + drivers/capebus/boards/Makefile | 3 + drivers/capebus/boards/capebus-bone-generic.c | 237 ++++++ drivers/capebus/boards/capebus-bone-pdevs.c | 602 +++++++++++++ drivers/capebus/boards/capebus-bone.c | 931 +++++++++++++++++++++ drivers/capebus/capebus-driver.c | 608 ++++++++++++++ drivers/capebus/capebus-probe.c | 320 +++++++ drivers/capebus/capebus-sysfs.c | 52 ++ drivers/capebus/capes/Kconfig | 13 + drivers/capebus/capes/Makefile | 2 + drivers/capebus/capes/bone-geiger-cape.c | 506 +++++++++++ drivers/capebus/capes/bone-generic-cape.c | 96 +++ include/linux/capebus.h | 298 +++++++ include/linux/capebus/capebus-bone.h | 120 +++ 28 files changed, 4920 insertions(+), 30 deletions(-) create mode 100644 Documentation/capebus/capebus-summary create mode 100644 Documentation/devicetree/bindings/capebus/bone-capebus-slot-override.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-capebus.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-geiger-cape.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-generic-cape.txt create mode 100644 Documentation/devicetree/bindings/capebus/da8xx-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/i2c-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/spi-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/ti-tscadc-dt.txt create mode 100644 drivers/capebus/Kconfig create mode 100644 drivers/capebus/Makefile create mode 100644 drivers/capebus/boards/Kconfig create mode 100644 drivers/capebus/boards/Makefile create mode 100644 drivers/capebus/boards/capebus-bone-generic.c create mode 100644 drivers/capebus/boards/capebus-bone-pdevs.c create mode 100644 drivers/capebus/boards/capebus-bone.c create mode 100644 drivers/capebus/capebus-driver.c create mode 100644 drivers/capebus/capebus-probe.c create mode 100644 drivers/capebus/capebus-sysfs.c create mode 100644 drivers/capebus/capes/Kconfig create mode 100644 drivers/capebus/capes/Makefile create mode 100644 drivers/capebus/capes/bone-geiger-cape.c create mode 100644 drivers/capebus/capes/bone-generic-cape.c create mode 100644 include/linux/capebus.h create mode 100644 include/linux/capebus/capebus-bone.h -- 1.7.12
WARNING: multiple messages have this Message-ID (diff)
From: panto@antoniou-consulting.com (Pantelis Antoniou) To: linux-arm-kernel@lists.infradead.org Subject: [RFC 0/7] Capebus; a bus for SoCs using simple expansion connectors Date: Wed, 31 Oct 2012 18:52:06 +0200 [thread overview] Message-ID: <1351702333-8456-1-git-send-email-panto@antoniou-consulting.com> (raw) Capebus is created to address the problem of many SoCs that can provide a multitude of hardware interfaces but in order to keep costs down the main boards only support a limited number of them. The rest are typically brought out to pin connectors on to which other boards, named capes are connected and allow those peripherals to be used. These capes connect to the SoC interfaces but might also contain various other parts that may need some kind of driver to work. Since SoCs have limited pins and pin muxing options, not all capes can work together so some kind of resource tracking (at least for the pins in use) is required. Before capebus all of this took place in the board support file, and frankly for boards with too many capes it was becoming unmanageable. Capebus provides a virtual bus, which along with a board specific controller, cape drivers can be written using the standard Linux device model. The core capebus infrastructure is not depended on any specific board. However capebus needs a board controller to provide services to the cape devices it controls. Services like addressing and resource reservation are provided by the board controller. Capebus at the moment only support TI's Beaglebone platform. This RFC introduces the core concept; most supporting patches have been posted to the relevant places. If you have a beaglebone and want to check it out, you can do so at: git://github.com/pantoniou/linux-bbxm.git branch capebus-v3 Pantelis Antoniou (7): capebus: Core capebus support capebus: Add beaglebone board support capebus: Beaglebone generic cape support capebus: Beaglebone geiger cape support capebus: Beaglebone capebus DT update capebus: Document DT bindings capebus: Documentation; capebus-summary Documentation/capebus/capebus-summary | 40 + .../capebus/bone-capebus-slot-override.txt | 28 + .../devicetree/bindings/capebus/bone-capebus.txt | 50 ++ .../bindings/capebus/bone-geiger-cape.txt | 78 ++ .../bindings/capebus/bone-generic-cape.txt | 97 +++ .../devicetree/bindings/capebus/da8xx-dt.txt | 31 + .../devicetree/bindings/capebus/i2c-dt.txt | 42 + .../devicetree/bindings/capebus/spi-dt.txt | 37 + .../devicetree/bindings/capebus/ti-tscadc-dt.txt | 34 + arch/arm/boot/dts/am335x-bone-common.dtsi | 689 ++++++++++++++- drivers/Kconfig | 2 + drivers/Makefile | 3 + drivers/capebus/Kconfig | 17 + drivers/capebus/Makefile | 8 + drivers/capebus/boards/Kconfig | 6 + drivers/capebus/boards/Makefile | 3 + drivers/capebus/boards/capebus-bone-generic.c | 237 ++++++ drivers/capebus/boards/capebus-bone-pdevs.c | 602 +++++++++++++ drivers/capebus/boards/capebus-bone.c | 931 +++++++++++++++++++++ drivers/capebus/capebus-driver.c | 608 ++++++++++++++ drivers/capebus/capebus-probe.c | 320 +++++++ drivers/capebus/capebus-sysfs.c | 52 ++ drivers/capebus/capes/Kconfig | 13 + drivers/capebus/capes/Makefile | 2 + drivers/capebus/capes/bone-geiger-cape.c | 506 +++++++++++ drivers/capebus/capes/bone-generic-cape.c | 96 +++ include/linux/capebus.h | 298 +++++++ include/linux/capebus/capebus-bone.h | 120 +++ 28 files changed, 4920 insertions(+), 30 deletions(-) create mode 100644 Documentation/capebus/capebus-summary create mode 100644 Documentation/devicetree/bindings/capebus/bone-capebus-slot-override.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-capebus.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-geiger-cape.txt create mode 100644 Documentation/devicetree/bindings/capebus/bone-generic-cape.txt create mode 100644 Documentation/devicetree/bindings/capebus/da8xx-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/i2c-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/spi-dt.txt create mode 100644 Documentation/devicetree/bindings/capebus/ti-tscadc-dt.txt create mode 100644 drivers/capebus/Kconfig create mode 100644 drivers/capebus/Makefile create mode 100644 drivers/capebus/boards/Kconfig create mode 100644 drivers/capebus/boards/Makefile create mode 100644 drivers/capebus/boards/capebus-bone-generic.c create mode 100644 drivers/capebus/boards/capebus-bone-pdevs.c create mode 100644 drivers/capebus/boards/capebus-bone.c create mode 100644 drivers/capebus/capebus-driver.c create mode 100644 drivers/capebus/capebus-probe.c create mode 100644 drivers/capebus/capebus-sysfs.c create mode 100644 drivers/capebus/capes/Kconfig create mode 100644 drivers/capebus/capes/Makefile create mode 100644 drivers/capebus/capes/bone-geiger-cape.c create mode 100644 drivers/capebus/capes/bone-generic-cape.c create mode 100644 include/linux/capebus.h create mode 100644 include/linux/capebus/capebus-bone.h -- 1.7.12
next reply other threads:[~2012-10-30 18:59 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-31 16:52 Pantelis Antoniou [this message] 2012-10-31 16:52 ` [RFC 0/7] Capebus; a bus for SoCs using simple expansion connectors Pantelis Antoniou 2012-10-31 16:52 ` [RFC 1/7] capebus: Core capebus support Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 21:55 ` Russ Dill 2012-10-31 21:55 ` Russ Dill 2012-10-31 22:07 ` Pantelis Antoniou 2012-10-31 22:07 ` Pantelis Antoniou 2012-11-01 0:55 ` Russ Dill 2012-11-01 0:55 ` Russ Dill 2012-10-31 16:52 ` [RFC 2/7] capebus: Add beaglebone board support Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-30 19:36 ` Tony Lindgren 2012-10-30 19:36 ` Tony Lindgren 2012-10-30 19:39 ` Tony Lindgren 2012-10-30 19:39 ` Tony Lindgren 2012-10-30 20:16 ` Pantelis Antoniou 2012-10-30 20:16 ` Pantelis Antoniou 2012-10-30 23:57 ` Tony Lindgren 2012-10-30 23:57 ` Tony Lindgren 2012-10-31 16:52 ` [RFC 3/7] capebus: Beaglebone generic cape support Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 16:52 ` [RFC 4/7] capebus: Beaglebone geiger " Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 16:52 ` [RFC 5/7] capebus: Beaglebone capebus DT update Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 16:52 ` [RFC 6/7] capebus: Document DT bindings Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 16:52 ` [RFC 7/7] capebus: Documentation; capebus-summary Pantelis Antoniou 2012-10-31 16:52 ` Pantelis Antoniou 2012-10-31 21:56 ` [RFC 0/7] Capebus; a bus for SoCs using simple expansion connectors Russ Dill 2012-10-31 21:56 ` Russ Dill 2012-10-31 22:03 ` Pantelis Antoniou 2012-10-31 22:03 ` Pantelis Antoniou
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=1351702333-8456-1-git-send-email-panto@antoniou-consulting.com \ --to=panto@antoniou-consulting.com \ --cc=Russ.Dill@ti.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=koen@dominion.thruhere.net \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=mporter@ti.com \ --cc=tony@atomide.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.