Skip to contentSkip to conversation

beaglebone-getting-started: update to latest git

PATCH New Koen Kooi 1 participant 6 messages Feb 9, 2012

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/6 beaglebone-getting-started: update to latest git

---
 recipes-misc/payload/beaglebone-getting-started.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes-misc/payload/beaglebone-getting-started.bb +2 -2
index 142da90..b135176 100644
@@ -1,13 +1,13 @@
 DESCRIPTION = "BeagleBone Getting Started Guide"
 
-PR = "r16"
+PR = "r17"
 
 inherit allarch
 
 LICENSE = "GPLv2+ & MIT & PD & others"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=603591dea023c3c75b48e07cb47ce639"
 
-SRCREV = "a698888220634a1b549bc2f2e6b33aa03709cb19"
+SRCREV = "5b93037d0504ab194709cf8b6dc3890fefe19fd9"
 SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.2.5
author
#1 lore raw

PATCH 2/6 bonescript: major rework

* switch to tarball to get a working .git
* post-process out x86 binaries
* remove allarch

---
 recipes-misc/payload/bonescript.bb |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
recipes-misc/payload/bonescript.bb +11 -12
index 4557eae..3361cb4 100644
@@ -1,32 +1,31 @@
 DESCRIPTION = "Scripting tools for the BeagleBoard and BeagleBone"
 
-PR = "r12"
+PR = "r13"
 
-inherit allarch systemd
+inherit systemd
 
-# Ask Jason
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=659ee0c98db2664403c769d6b9ab50eb"
 
-SRCREV = "8118a541e8927f48de2cf9ec203aa1caf88ec1f3"
-SRC_URI = "git://github.com/jadonk/bonescript.git \
+SRC_URI = "http://dominion.thruhere.net/koen/angstrom/beaglebone/bonescript-8898f4ee4ae2548642679626a03e332a4cd43331.tar.bz2 \
            file://bonescript-git \
            file://bone101.service \
           "
-S = "${WORKDIR}/git"
+SRC_URI[md5sum] = "306278a2afc10b75f4fc886918fb02b7"
+SRC_URI[sha256sum] = "01c87e59adcc663365c664b0731f0e5a23feeae1965a5cd5edd3e89255f8a30b"
+
+S = "${WORKDIR}/bonescript"
 
 do_install() {
-	install -m 0644 ${WORKDIR}/bonescript-git ${S}/.git/config
-	cp $(cat .git/objects/info/alternates)/pack/* .git/objects/pack
-	rm -f ${S}/.git/objects/info/alternates
-	echo ${SRCREV} > .git/refs/heads/master
-	git checkout master || true
 	install -d ${D}${localstatedir}/lib/cloud9/
 	cp -a ${S}/* ${D}${localstatedir}/lib/cloud9/
 	cp -a ${S}/.git ${D}${localstatedir}/lib/cloud9/
 
 	install -d ${D}${base_libdir}/systemd/system
 	install -m 0644 ${WORKDIR}/bone101.service ${D}${base_libdir}/systemd/system
+
+	rm -f ${D}${localstatedir}/lib/cloud9/node_modules/binary/node_modules/put/test/c/itof
+	rm -f ${D}${localstatedir}/lib/cloud9/node_modules/binary/node_modules/put/test/c/ftoi
 }
 
 SYSTEMD_PACKAGES = "${PN}"
Signature · 1 line
1.7.2.5
author
#2 lore raw

PATCH 3/6 cloud9-image: include CAN support

In reply to Koen Kooi
---
 recipes-misc/images/cloud9-image.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
recipes-misc/images/cloud9-image.bb +1 -0
index 65ce4e0..1a7e269 100644
@@ -28,6 +28,7 @@ IMAGE_INSTALL += " \
 	nodejs-dev \
 	mplayer2 \
 	tslib-tests tslib-calibrate \
+	iproute2 canutils \
 "
 
 export IMAGE_BASENAME = "Cloud9-IDE"
Signature · 1 line
1.7.2.5
author
#3 lore raw

PATCH 4/6 beaglebone-tester: bump SRCREV

In reply to Koen Kooi
---
 recipes-ti/beagleboard/beaglebone-tester.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes-ti/beagleboard/beaglebone-tester.bb +2 -2
index b4a94ab..dae9628 100644
@@ -7,11 +7,11 @@ LIC_FILES_CHKSUM="file://gpl.txt;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
 # only scripts and data
 inherit allarch
 
-PR = "r11"
+PR = "r12"
 
 SRC_URI = "git://github.com/koenkooi/validation-scripts.git;protocol=git \
           "
-SRCREV = "ab8c1e604575b85eca9a55073f7d50ac465a1072"
+SRCREV = "0a3415705afb206694d4e873fe8228b7440213db"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.2.5
author
#4 lore raw

PATCH 5/6 linux-ti33x-psp 3.2: add support for Towertech TT3201 CAN cape

In reply to Koen Kooi
---
 ...add-support-for-Towertech-TT3201-CAN-cape.patch |  312 ++++++++++++++++++++
 .../linux/linux-ti33x-psp-3.2/beaglebone/defconfig |   14 +-
 recipes-kernel/linux/linux-ti33x-psp_3.2.bb        |    3 +-
 3 files changed, 321 insertions(+), 8 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch
recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch new file +312 -0
new file mode 100644
index 0000000..086ace9
@@ -0,0 +1,312 @@
+From af31b4d5a2d52284b169633b9a601c39c7300300 Mon Sep 17 00:00:00 2001
+From: Alessandro Zummo <[email protected]>
+Date: Thu, 9 Feb 2012 12:46:52 +0100
+Subject: [PATCH 22/22] beaglebone: add support for Towertech TT3201 CAN cape
+
+Signed-off-by: Koen Kooi <[email protected]>
+---
+ arch/arm/mach-omap2/board-am335xevm.c |   54 ++++++++++++++++++++++++++++++++-
+ arch/arm/mach-omap2/mux33xx.c         |    4 +-
+ drivers/net/can/dev.c                 |    8 ++--
+ drivers/net/can/mcp251x.c             |   47 ++++++++++++++++++++++------
+ 4 files changed, 96 insertions(+), 17 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
+index 538466d..36efca1 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
++++ b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -38,6 +38,7 @@
+ #include <linux/pwm_backlight.h>
+ #include <linux/pwm/pwm.h>
+ #include <linux/w1-gpio.h>
++#include <linux/can/platform/mcp251x.h>
+ 
+ /* LCD controller is similar to DA850 */
+ #include <video/da8xx-fb.h>
+@@ -829,6 +830,15 @@ static struct pinmux_config d_can_ia_pin_mux[] = {
+ 	{NULL, 0},
+ };
+ 
++static struct pinmux_config tt3201_pin_mux[] = {
++	{"uart1_rxd.d_can1_tx", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT },
++	{"uart1_txd.d_can1_rx", OMAP_MUX_MODE2 | AM33XX_PIN_INPUT_PULLUP },
++	{"mcasp0_fsr.gpio3_19", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP },
++	{"mcasp0_ahclkx.gpio3_21", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP },
++	{"ecap0_in_pwm0_out.spi1_cs1", OMAP_MUX_MODE2 | AM33XX_PIN_OUTPUT_PULLUP },
++	{NULL, 0},
++};
++
+ /* Module pin mux for uart2 */
+ static struct pinmux_config uart2_pin_mux[] = {
+ 	{"spi0_sclk.uart2_rxd", OMAP_MUX_MODE1 | AM33XX_SLEWCTRL_SLOW |
+@@ -1788,6 +1798,44 @@ static void i2c1_init(int evm_id, int profile)
+ 	return;
+ }
+ 
++static struct mcp251x_platform_data mcp251x_info = {
++	.oscillator_frequency = 16000000,
++};
++
++static struct spi_board_info tt3201_spi_info[] = {
++	{
++		.modalias	= "mcp2515",
++		.max_speed_hz	= 10000000,
++		.bus_num	= 2,
++		.chip_select	= 0,
++		.mode		= SPI_MODE_0,
++		.platform_data	= &mcp251x_info,
++	},
++	{
++		.modalias	= "mcp2515",
++		.max_speed_hz	= 10000000,
++		.bus_num	= 2,
++		.chip_select	= 1,
++		.mode		= SPI_MODE_0,
++		.platform_data	= &mcp251x_info,
++	},
++};
++
++static void tt3201_init(int evm_id, int profile)
++{
++	pr_info("TowerTech TT3201 CAN Cape\n");
++
++	setup_pin_mux(spi1_pin_mux);
++	setup_pin_mux(tt3201_pin_mux);
++
++	tt3201_spi_info[0].irq = gpio_to_irq(GPIO_TO_PIN(3, 19));
++	tt3201_spi_info[1].irq = gpio_to_irq(GPIO_TO_PIN(3, 21));
++
++	spi_register_board_info(tt3201_spi_info,
++		ARRAY_SIZE(tt3201_spi_info));
++
++	am33xx_d_can_init(1);
++}
+ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context)
+ {
+ 	capecount++;
+@@ -1835,7 +1883,11 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
+ 		beaglebone_tsadcpins_free = 0;
+ 	}
+ 	
+-	
++	if (!strncmp("TT3201-001", cape_config.partnumber, 10)) {
++		pr_info("BeagleBone cape: initializing CAN cape\n");
++		tt3201_init(0,0);
++	}
++
+ 	if ((capecount > 3) && (beaglebone_tsadcpins_free == 1)) {
+ 		pr_info("BeagleBone cape: exporting ADC pins to sysfs\n");
+ 		bone_tsc_init(0,0);
+diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c
+index 0a06241..e4f3bd9 100644
+--- a/arch/arm/mach-omap2/mux33xx.c
++++ b/arch/arm/mach-omap2/mux33xx.c
+@@ -318,10 +318,10 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
+ 		"uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl",
+ 		"spi1_cs1", NULL, NULL, "gpio0_13"),
+ 	_AM33XX_MUXENTRY(UART1_RXD, 0,
+-		"uart1_rxd", "mmc1_sdwp", NULL, NULL,
++		"uart1_rxd", "mmc1_sdwp", "d_can1_tx", NULL,
+ 		NULL, "pr1_uart0_rxd_mux1", NULL, "gpio0_14"),
+ 	_AM33XX_MUXENTRY(UART1_TXD, 0,
+-		"uart1_txd", "mmc2_sdwp", NULL, NULL,
++		"uart1_txd", "mmc2_sdwp", "d_can1_rx", NULL,
+ 		NULL, "pr1_uart0_txd_mux1", NULL, "gpio0_15"),
+ 	_AM33XX_MUXENTRY(I2C0_SDA, 0,
+ 		"i2c0_sda", NULL, NULL, NULL,
+diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c
+index 25695bd..bc1e87e 100644
+--- a/drivers/net/can/dev.c
++++ b/drivers/net/can/dev.c
+@@ -392,7 +392,7 @@ void can_restart(unsigned long data)
+ 	stats->rx_bytes += cf->can_dlc;
+ 
+ restart:
+-	dev_dbg(dev->dev.parent, "restarted\n");
++	netdev_dbg(dev, "restarted\n");
+ 	priv->can_stats.restarts++;
+ 
+ 	/* Now restart the device */
+@@ -400,7 +400,7 @@ restart:
+ 
+ 	netif_carrier_on(dev);
+ 	if (err)
+-		dev_err(dev->dev.parent, "Error %d during restart", err);
++		netdev_err(dev, "error %d during restart", err);
+ }
+ 
+ int can_restart_now(struct net_device *dev)
+@@ -433,7 +433,7 @@ void can_bus_off(struct net_device *dev)
+ {
+ 	struct can_priv *priv = netdev_priv(dev);
+ 
+-	dev_dbg(dev->dev.parent, "bus-off\n");
++	netdev_dbg(dev, "bus-off\n");
+ 
+ 	netif_carrier_off(dev);
+ 	priv->can_stats.bus_off++;
+@@ -545,7 +545,7 @@ int open_candev(struct net_device *dev)
+ 	struct can_priv *priv = netdev_priv(dev);
+ 
+ 	if (!priv->bittiming.tq && !priv->bittiming.bitrate) {
+-		dev_err(dev->dev.parent, "bit-timing not yet defined\n");
++		netdev_err(dev, "bit-timing not yet defined\n");
+ 		return -EINVAL;
+ 	}
+ 
+diff --git a/drivers/net/can/mcp251x.c b/drivers/net/can/mcp251x.c
+index 330140e..b3e231c 100644
+--- a/drivers/net/can/mcp251x.c
++++ b/drivers/net/can/mcp251x.c
+@@ -93,8 +93,9 @@
+ #  define CANCTRL_REQOP_LOOPBACK    0x40
+ #  define CANCTRL_REQOP_SLEEP	    0x20
+ #  define CANCTRL_REQOP_NORMAL	    0x00
+-#  define CANCTRL_OSM		    0x08
+ #  define CANCTRL_ABAT		    0x10
++#  define CANCTRL_OSM		    0x08
++#  define CANCTRL_CLKEN		    0x04
+ #define TEC	      0x1c
+ #define REC	      0x1d
+ #define CNF1	      0x2a
+@@ -287,7 +288,7 @@ static void mcp251x_clean(struct net_device *net)
+ /*
+  * Note about handling of error return of mcp251x_spi_trans: accessing
+  * registers via SPI is not really different conceptually than using
+- * normal I/O assembler instructions, although it's much more
++ * normal I/O assembly instructions, although it's much more
+  * complicated from a practical POV. So it's not advisable to always
+  * check the return value of this function. Imagine that every
+  * read{b,l}, write{b,l} and friends would be bracketed in "if ( < 0)
+@@ -490,7 +491,7 @@ static void mcp251x_hw_rx(struct spi_device *spi, int buf_idx)
+ 
+ static void mcp251x_hw_sleep(struct spi_device *spi)
+ {
+-	mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_SLEEP);
++//	mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_SLEEP);
+ }
+ 
+ static netdev_tx_t mcp251x_hard_start_xmit(struct sk_buff *skb,
+@@ -547,13 +548,16 @@ static int mcp251x_set_normal_mode(struct spi_device *spi)
+ 
+ 	if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) {
+ 		/* Put device into loopback mode */
+-		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LOOPBACK);
++		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LOOPBACK | CANCTRL_CLKEN);
+ 	} else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) {
+ 		/* Put device into listen-only mode */
+-		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LISTEN_ONLY);
++		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_LISTEN_ONLY | CANCTRL_CLKEN);
+ 	} else {
+ 		/* Put device into normal mode */
+-		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_NORMAL);
++		mcp251x_write_reg(spi, CANCTRL, CANCTRL_REQOP_NORMAL | CANCTRL_CLKEN);
++
++                netdev_info(priv->net, "CANCTRL: 0x%02x\n",
++                  mcp251x_read_reg(spi, CANCTRL));
+ 
+ 		/* Wait for the device to enter normal mode */
+ 		timeout = jiffies + HZ;
+@@ -585,11 +589,15 @@ static int mcp251x_do_set_bittiming(struct net_device *net)
+ 			  (bt->prop_seg - 1));
+ 	mcp251x_write_bits(spi, CNF3, CNF3_PHSEG2_MASK,
+ 			   (bt->phase_seg2 - 1));
+-	dev_info(&spi->dev, "CNF: 0x%02x 0x%02x 0x%02x\n",
++
++	netdev_info(net, "CNF: 0x%02x 0x%02x 0x%02x\n",
+ 		 mcp251x_read_reg(spi, CNF1),
+ 		 mcp251x_read_reg(spi, CNF2),
+ 		 mcp251x_read_reg(spi, CNF3));
+ 
++	netdev_info(net, "CANCTRL: 0x%02x\n",
++		 mcp251x_read_reg(spi, CANCTRL));
++
+ 	return 0;
+ }
+ 
+@@ -600,6 +608,7 @@ static int mcp251x_setup(struct net_device *net, struct mcp251x_priv *priv,
+ 
+ 	mcp251x_write_reg(spi, RXBCTRL(0),
+ 			  RXBCTRL_BUKT | RXBCTRL_RXM0 | RXBCTRL_RXM1);
++
+ 	mcp251x_write_reg(spi, RXBCTRL(1),
+ 			  RXBCTRL_RXM0 | RXBCTRL_RXM1);
+ 	return 0;
+@@ -728,7 +737,9 @@ static void mcp251x_tx_work_handler(struct work_struct *ws)
+ 	mutex_lock(&priv->mcp_lock);
+ 	if (priv->tx_skb) {
+ 		if (priv->can.state == CAN_STATE_BUS_OFF) {
++
+ 			mcp251x_clean(net);
++
+ 		} else {
+ 			frame = (struct can_frame *)priv->tx_skb->data;
+ 
+@@ -827,21 +838,37 @@ static irqreturn_t mcp251x_can_ist(int irq, void *dev_id)
+ 
+ 		/* Update can state */
+ 		if (eflag & EFLG_TXBO) {
++
++		        netdev_err(net, "err: bus off\n");
++
+ 			new_state = CAN_STATE_BUS_OFF;
+ 			can_id |= CAN_ERR_BUSOFF;
+ 		} else if (eflag & EFLG_TXEP) {
++
++		        netdev_err(net, "err: txep\n");
++
+ 			new_state = CAN_STATE_ERROR_PASSIVE;
+ 			can_id |= CAN_ERR_CRTL;
+ 			data1 |= CAN_ERR_CRTL_TX_PASSIVE;
++
+ 		} else if (eflag & EFLG_RXEP) {
++
++		        netdev_err(net, "err: rxep\n");
++
+ 			new_state = CAN_STATE_ERROR_PASSIVE;
+ 			can_id |= CAN_ERR_CRTL;
+ 			data1 |= CAN_ERR_CRTL_RX_PASSIVE;
+ 		} else if (eflag & EFLG_TXWAR) {
++
++		        netdev_err(net, "err: txwar\n");
++
+ 			new_state = CAN_STATE_ERROR_WARNING;
+ 			can_id |= CAN_ERR_CRTL;
+ 			data1 |= CAN_ERR_CRTL_TX_WARNING;
+ 		} else if (eflag & EFLG_RXWAR) {
++
++		        netdev_err(net, "err: rxwar\n");
++
+ 			new_state = CAN_STATE_ERROR_WARNING;
+ 			can_id |= CAN_ERR_CRTL;
+ 			data1 |= CAN_ERR_CRTL_RX_WARNING;
+@@ -918,7 +945,7 @@ static int mcp251x_open(struct net_device *net)
+ 
+ 	ret = open_candev(net);
+ 	if (ret) {
+-		dev_err(&spi->dev, "unable to set initial baudrate!\n");
++		netdev_err(net, "failed to open can device\n");
+ 		return ret;
+ 	}
+ 
+@@ -934,7 +961,7 @@ static int mcp251x_open(struct net_device *net)
+ 		  pdata->irq_flags ? pdata->irq_flags : IRQF_TRIGGER_FALLING,
+ 		  DEVICE_NAME, priv);
+ 	if (ret) {
+-		dev_err(&spi->dev, "failed to acquire irq %d\n", spi->irq);
++		netdev_err(net, "failed to acquire irq %d\n", spi->irq);
+ 		if (pdata->transceiver_enable)
+ 			pdata->transceiver_enable(0);
+ 		close_candev(net);
+@@ -1071,7 +1098,7 @@ static int __devinit mcp251x_can_probe(struct spi_device *spi)
+ 
+ 	ret = register_candev(net);
+ 	if (!ret) {
+-		dev_info(&spi->dev, "probed\n");
++		netdev_info(priv->net, "probed\n");
+ 		return ret;
+ 	}
+ error_probe:
+-- 
+1.7.2.5
+
recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig +7 -7
index f2c8b44..07b9987 100644
@@ -777,8 +777,8 @@ CONFIG_DNS_RESOLVER=y
 #
 # CONFIG_NET_PKTGEN is not set
 # CONFIG_HAMRADIO is not set
-CONFIG_CAN=m
-CONFIG_CAN_RAW=m
+CONFIG_CAN=y
+CONFIG_CAN_RAW=y
 CONFIG_CAN_BCM=m
 CONFIG_CAN_GW=m
 
@@ -787,14 +787,14 @@ CONFIG_CAN_GW=m
 #
 CONFIG_CAN_VCAN=m
 CONFIG_CAN_SLCAN=m
-CONFIG_CAN_DEV=m
+CONFIG_CAN_DEV=y
 CONFIG_CAN_CALC_BITTIMING=y
 CONFIG_CAN_TI_HECC=m
-# CONFIG_CAN_MCP251X is not set
+CONFIG_CAN_MCP251X=y
 # CONFIG_CAN_SJA1000 is not set
 # CONFIG_CAN_C_CAN is not set
-CONFIG_CAN_D_CAN=m
-CONFIG_CAN_D_CAN_PLATFORM=m
+CONFIG_CAN_D_CAN=y
+CONFIG_CAN_D_CAN_PLATFORM=y
 
 #
 # CAN USB interfaces
@@ -802,7 +802,7 @@ CONFIG_CAN_D_CAN_PLATFORM=m
 CONFIG_CAN_EMS_USB=m
 CONFIG_CAN_ESD_USB2=m
 # CONFIG_CAN_SOFTING is not set
-# CONFIG_CAN_DEBUG_DEVICES is not set
+CONFIG_CAN_DEBUG_DEVICES=y
 CONFIG_IRDA=m
 
 #
recipes-kernel/linux/linux-ti33x-psp_3.2.bb +2 -1
index 6c67129..682fa8c 100644
@@ -11,7 +11,7 @@ MULTI_CONFIG_BASE_SUFFIX = ""
 
 BRANCH = "v3.2-staging"
 SRCREV = "83d907e1b05dabc44f3bb64532d7b58d059a14c0"
-MACHINE_KERNEL_PR_append = "c+gitr${SRCREV}"
+MACHINE_KERNEL_PR_append = "d+gitr${SRCREV}"
 
 COMPATIBLE_MACHINE = "(ti33x)"
 
@@ -46,6 +46,7 @@ PATCHES_OVER_PSP = " \
 	file://0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch \
 	file://0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch \
 	file://0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch \
+	file://0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch \
 "
 
 SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"
Signature · 1 line
1.7.2.5
author
#5 lore raw

PATCH 6/6 linux-ti33x-psp 3.2: rebase patches onto latest v3.2-staging branch

In reply to Koen Kooi
---
 ...-f_rndis-HACK-around-undefined-variables.patch} |    6 +-
 .../0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch   |   30 -------
 ...-da8xx-fb-add-DVI-support-for-beaglebone.patch} |    6 +-
 ...ebase-everything-onto-3.2-WARNING-MEGAPA.patch} |   77 +++++++++--------
 ...-hwmod-33xx-Add-support-for-third-i2c-bus.patch |   92 --------------------
 ...ges.patch => 0005-more-beaglebone-merges.patch} |    6 +-
 ...c.patch => 0006-beaglebone-disable-tsadc.patch} |    6 +-
 ...eneral-purpose-mode-untested-with-touchs.patch} |    9 +-
 ...c-Add-board-file-mfd-support-fix-warning.patch} |    6 +-
 ...M335X-init-tsc-bone-style-for-new-boards.patch} |    6 +-
 ...adc-make-stepconfig-channel-configurable.patch} |    6 +-
 ...tch => 0011-tscadc-Trigger-through-sysfs.patch} |    6 +-
 ...eta-ti-Remove-debug-messages-for-meta-ti.patch} |    6 +-
 ...-switch-to-polling-instead-of-interrupts.patch} |    6 +-
 ...it.patch => 0014-beaglebone-fix-ADC-init.patch} |    6 +-
 ...1A.patch => 0015-AM335x-MUX-add-ehrpwm1A.patch} |    8 +-
 ...nable-PWM-for-lcd-backlight-backlight-is.patch} |   11 ++-
 ...et-dto-to-max-value-of-14-to-avoid-SD-Ca.patch} |    7 +-
 ...et-default-brightness-to-50-for-pwm-back.patch} |    7 +-
 ...-framebuffer-driver-supporting-Adafruit-.patch} |    7 +-
 ...20-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch} |    6 +-
 ...dd-support-for-Towertech-TT3201-CAN-cape.patch} |   32 ++++---
 recipes-kernel/linux/linux-ti33x-psp_3.2.bb        |   46 +++++-----
 23 files changed, 146 insertions(+), 252 deletions(-)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0001-f_rndis-HACK-around-undefined-variables.patch => 0002-f_rndis-HACK-around-undefined-variables.patch} (86%)
 delete mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0002-da8xx-fb-add-DVI-support-for-beaglebone.patch => 0003-da8xx-fb-add-DVI-support-for-beaglebone.patch} (86%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch => 0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch} (90%)
 delete mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0006-more-beaglebone-merges.patch => 0005-more-beaglebone-merges.patch} (97%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0007-beaglebone-disable-tsadc.patch => 0006-beaglebone-disable-tsadc.patch} (87%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch => 0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch} (98%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0009-tscadc-Add-board-file-mfd-support-fix-warning.patch => 0008-tscadc-Add-board-file-mfd-support-fix-warning.patch} (91%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0010-AM335X-init-tsc-bone-style-for-new-boards.patch => 0009-AM335X-init-tsc-bone-style-for-new-boards.patch} (85%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0011-tscadc-make-stepconfig-channel-configurable.patch => 0010-tscadc-make-stepconfig-channel-configurable.patch} (91%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0012-tscadc-Trigger-through-sysfs.patch => 0011-tscadc-Trigger-through-sysfs.patch} (97%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0013-meta-ti-Remove-debug-messages-for-meta-ti.patch => 0012-meta-ti-Remove-debug-messages-for-meta-ti.patch} (88%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0014-tscadc-switch-to-polling-instead-of-interrupts.patch => 0013-tscadc-switch-to-polling-instead-of-interrupts.patch} (92%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0015-beaglebone-fix-ADC-init.patch => 0014-beaglebone-fix-ADC-init.patch} (92%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0016-AM335x-MUX-add-ehrpwm1A.patch => 0015-AM335x-MUX-add-ehrpwm1A.patch} (83%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch => 0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch} (95%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch => 0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch} (84%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch => 0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch} (83%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch => 0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch} (98%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch => 0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch} (94%)
 rename recipes-kernel/linux/linux-ti33x-psp-3.2/{0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch => 0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch} (91%)
recipes-kernel/linux/linux-ti33x-psp-3.2/0002-f_rndis-HACK-around-undefined-variables.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0001-f_rndis-HACK-around-undefined-variables.patch +3 -3
similarity index 86%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0001-f_rndis-HACK-around-undefined-variables.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0002-f_rndis-HACK-around-undefined-variables.patch
index ce08a5d..997d74b 100644
@@ -1,7 +1,7 @@
-From b3f548e71f6b8b568e1b683b1585406c942d1d3d Mon Sep 17 00:00:00 2001
+From ce48c5fa02f48ba304a28209fef934faa99d81f0 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Fri, 7 Oct 2011 15:29:28 +0200
-Subject: [PATCH 01/21] f_rndis: HACK around undefined variables
+Subject: [PATCH 02/21] f_rndis: HACK around undefined variables
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -27,5 +27,5 @@ index 6614490..d2f1b6f 100644
  	 * the network link ... which is unavailable to this code
  	 * until we're activated via set_alt().
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0003-arm-omap-mux33xx-Add-i2c2-pin-mux.patch deleted +0 -30
deleted file mode 100644
index bbcb03b..0000000
@@ -1,30 +0,0 @@
-From 3a58d6b8a90793dd793265b09219871b53aaf63a Mon Sep 17 00:00:00 2001
-From: Koen Kooi <[email protected]>
-Date: Tue, 31 Jan 2012 10:21:32 +0100
-Subject: [PATCH 03/21] arm:omap:mux33xx: Add i2c2 pin mux
-
-Signed-off-by: Koen Kooi <[email protected]>
----
- arch/arm/mach-omap2/mux33xx.c |    4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c
-index 81a657e..36bb10a 100644
---- a/arch/arm/mach-omap2/mux33xx.c
-+++ b/arch/arm/mach-omap2/mux33xx.c
-@@ -312,10 +312,10 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
- 		"uart0_txd", "spi1_cs1", "d_can0_rx", NULL,
- 		NULL, NULL, NULL, "gpio1_11"),
- 	_AM33XX_MUXENTRY(UART1_CTSN, 0,
--		"uart1_ctsn", NULL, NULL, NULL,
-+		"uart1_ctsn", NULL, "d_can0_tx", "i2c2_sda",
- 		"spi1_cs0", NULL, NULL, "gpio0_12"),
- 	_AM33XX_MUXENTRY(UART1_RTSN, 0,
--		"uart1_rtsn", NULL, NULL, NULL,
-+		"uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl",
- 		"spi1_cs1", NULL, NULL, "gpio0_13"),
- 	_AM33XX_MUXENTRY(UART1_RXD, 0,
- 		"uart1_rxd", "mmc1_sdwp", NULL, NULL,
--- 
-1.7.2.5
-
recipes-kernel/linux/linux-ti33x-psp-3.2/0003-da8xx-fb-add-DVI-support-for-beaglebone.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch +3 -3
similarity index 86%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0002-da8xx-fb-add-DVI-support-for-beaglebone.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0003-da8xx-fb-add-DVI-support-for-beaglebone.patch
index c6a63cc..a7e7486 100644
@@ -1,7 +1,7 @@
-From 72c2e6a521c288a0620f5ec7420f27899d1f519d Mon Sep 17 00:00:00 2001
+From 1030700d88f2f55dc6116d8112e31df49201c56d Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Thu, 3 Nov 2011 17:35:50 +0100
-Subject: [PATCH 02/21] da8xx-fb: add DVI support for beaglebone
+Subject: [PATCH 03/21] da8xx-fb: add DVI support for beaglebone
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -34,5 +34,5 @@ index 85eda33..dea8936 100644
  
  /* Enable the Raster Engine of the LCD Controller */
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0005-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch +41 -36

151 lines not on this page · raw message

recipes-kernel/linux/linux-ti33x-psp-3.2/0004-omap-hwmod-33xx-Add-support-for-third-i2c-bus.patch deleted +0 -92

92 lines not on this page · raw message

recipes-kernel/linux/linux-ti33x-psp-3.2/0005-more-beaglebone-merges.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0006-more-beaglebone-merges.patch +3 -3
similarity index 97%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0006-more-beaglebone-merges.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0005-more-beaglebone-merges.patch
index 04f9e2b..80ec68b 100644
@@ -1,7 +1,7 @@
-From 2e5a948c8a5bcd6ac904ec5e6feb44eaa8085dce Mon Sep 17 00:00:00 2001
+From 723b8183fe5fbd584eabed3e88557ac7f76f2703 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 31 Jan 2012 10:04:03 +0100
-Subject: [PATCH 06/21] more beaglebone merges
+Subject: [PATCH 05/21] more beaglebone merges
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -121,5 +121,5 @@ index e0c20c5..177ab9e 100644
  	} else if (!strncmp("1.0", config.version, 3)) {
  		gp_evm_revision = GP_EVM_REV_IS_1_0;
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0006-beaglebone-disable-tsadc.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch +3 -3
similarity index 87%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0006-beaglebone-disable-tsadc.patch
index af37d28..6a0d419 100644
@@ -1,7 +1,7 @@
-From 418ca67a6e1bc3009b63587b0d65d064fa9c6e1a Mon Sep 17 00:00:00 2001
+From b424eb3338204b799bd49a490c90d0ebbe7b77cb Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 31 Jan 2012 10:09:06 +0100
-Subject: [PATCH 07/21] beaglebone: disable tsadc
+Subject: [PATCH 06/21] beaglebone: disable tsadc
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -27,5 +27,5 @@ index 177ab9e..87ccf14 100644
  
  static struct platform_device tsc_device = {
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch +5 -4
similarity index 98%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-general-purpose-mode-untested-with-touchs.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch
index bff0cbf..ede104c 100644
@@ -1,7 +1,8 @@
-From 0a97d120ca4b129c763c420b4c85e71f68286704 Mon Sep 17 00:00:00 2001
+From c733e3990004292c4e144c78a77bd279b7e140be Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Wed, 30 Nov 2011 15:00:40 +0100
-Subject: [PATCH 08/21] tscadc: Add general purpose mode, untested with touchscreen functionality
+Subject: [PATCH 07/21] tscadc: Add general purpose mode, untested with
+ touchscreen functionality
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 
@@ -38,7 +39,7 @@ index 87ccf14..c7bb091 100644
  };
  
 diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c
-index 36bb10a..e4cd407 100644
+index 8df8fa9..14ef129 100644
 --- a/arch/arm/mach-omap2/mux33xx.c
 +++ b/arch/arm/mach-omap2/mux33xx.c
 @@ -584,6 +584,18 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
@@ -406,5 +407,5 @@ index 2c547bb..850cd4b 100644
 +	int mode;
  };
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-board-file-mfd-support-fix-warning.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0009-tscadc-Add-board-file-mfd-support-fix-warning.patch +3 -3
similarity index 91%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0009-tscadc-Add-board-file-mfd-support-fix-warning.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0008-tscadc-Add-board-file-mfd-support-fix-warning.patch
index 3cfb733..78b6fa6 100644
@@ -1,7 +1,7 @@
-From 7858340efc39a1b098e3d291ab8bb1ba553e08da Mon Sep 17 00:00:00 2001
+From 4c5e21f822dc058eb63b45300037759f485df6b6 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Wed, 30 Nov 2011 15:02:17 +0100
-Subject: [PATCH 09/21] tscadc: Add board file mfd support, fix warning
+Subject: [PATCH 08/21] tscadc: Add board file mfd support, fix warning
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 
@@ -40,5 +40,5 @@ index 699503d..f813564 100644
  	int				clk_value;
  	int				clock_rate, irqenable, ctrl;
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0009-AM335X-init-tsc-bone-style-for-new-boards.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0010-AM335X-init-tsc-bone-style-for-new-boards.patch +3 -3
similarity index 85%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0010-AM335X-init-tsc-bone-style-for-new-boards.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0009-AM335X-init-tsc-bone-style-for-new-boards.patch
index 72f0290..04ed3b9 100644
@@ -1,7 +1,7 @@
-From a43c57a49ba30d4bb6087a6bb4f6200c785905c5 Mon Sep 17 00:00:00 2001
+From 79d0c41d98e7121ff7278b79ff57b0de8a0c9377 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Wed, 30 Nov 2011 15:03:59 +0100
-Subject: [PATCH 10/21] AM335X: init tsc bone style for new boards
+Subject: [PATCH 09/21] AM335X: init tsc bone style for new boards
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 ---
@@ -22,5 +22,5 @@ index 17705b3..ac4f78f 100644
  };
  
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0010-tscadc-make-stepconfig-channel-configurable.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-make-stepconfig-channel-configurable.patch +3 -3
similarity index 91%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-make-stepconfig-channel-configurable.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0010-tscadc-make-stepconfig-channel-configurable.patch
index bf5d08f..ed243c7 100644
@@ -1,7 +1,7 @@
-From 6fdcca153f70cad5438d682987d6eae16aeb2ea7 Mon Sep 17 00:00:00 2001
+From 1588794b88cf7de787433f23d1fff8053a163f74 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Mon, 28 Nov 2011 18:18:04 -0600
-Subject: [PATCH 11/21] tscadc: make stepconfig channel-configurable
+Subject: [PATCH 10/21] tscadc: make stepconfig channel-configurable
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 ---
@@ -42,5 +42,5 @@ index f813564..0b91bdc 100644
  		irqenable = TSCADC_IRQENB_FIFO0THRES;
  	}
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-Trigger-through-sysfs.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0012-tscadc-Trigger-through-sysfs.patch +3 -3
similarity index 97%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0012-tscadc-Trigger-through-sysfs.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0011-tscadc-Trigger-through-sysfs.patch
index 4daca0a..dad8caa 100644
@@ -1,7 +1,7 @@
-From aa9aa700a94ecef9726c46346a9503d473894f75 Mon Sep 17 00:00:00 2001
+From 0b3d50a459b9414aa57739f8595ccfb7808f2db4 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Mon, 28 Nov 2011 20:55:25 -0600
-Subject: [PATCH 12/21] tscadc: Trigger through sysfs
+Subject: [PATCH 11/21] tscadc: Trigger through sysfs
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 
@@ -143,5 +143,5 @@ index 850cd4b..fc239c6 100644
  #define TI_TSCADC_TSCMODE 0
  #define TI_TSCADC_GENMODE 1
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0012-meta-ti-Remove-debug-messages-for-meta-ti.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0013-meta-ti-Remove-debug-messages-for-meta-ti.patch +3 -3
similarity index 88%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0013-meta-ti-Remove-debug-messages-for-meta-ti.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0012-meta-ti-Remove-debug-messages-for-meta-ti.patch
index 78691be..4890adf 100644
@@ -1,7 +1,7 @@
-From a0828509fefd049bc014e850366f6e39196e4e2f Mon Sep 17 00:00:00 2001
+From 51a1a0fe527d34be13d788bc50063127b9bcbe25 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Mon, 28 Nov 2011 20:56:48 -0600
-Subject: [PATCH 13/21] meta-ti: Remove debug messages for meta-ti
+Subject: [PATCH 12/21] meta-ti: Remove debug messages for meta-ti
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 ---
@@ -30,5 +30,5 @@ index a74d9ba..1f9cbf5 100644
  		for (i = 0; i < fifo1count; i++) {
  			read_sample = tscadc_readl(ts_dev, TSCADC_REG_FIFO0);
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0013-tscadc-switch-to-polling-instead-of-interrupts.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0014-tscadc-switch-to-polling-instead-of-interrupts.patch +3 -3
similarity index 92%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0014-tscadc-switch-to-polling-instead-of-interrupts.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0013-tscadc-switch-to-polling-instead-of-interrupts.patch
index 38cc414..2dd7386 100644
@@ -1,7 +1,7 @@
-From 55f39df40bf9efe2576f39e8c0bd0e1390145b46 Mon Sep 17 00:00:00 2001
+From 888913aadadaccf759c4d1fc7c329243764012f1 Mon Sep 17 00:00:00 2001
 From: Joel A Fernandes <[email protected]>
 Date: Tue, 29 Nov 2011 09:44:22 -0600
-Subject: [PATCH 14/21] tscadc: switch to polling instead of interrupts
+Subject: [PATCH 13/21] tscadc: switch to polling instead of interrupts
 
 Signed-off-by: Joel A Fernandes <[email protected]>
 ---
@@ -50,5 +50,5 @@ index 1f9cbf5..8e2a994 100644
  	tscadc_writel(ts_dev, TSCADC_REG_IRQENABLE, irqenable);
  
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0014-beaglebone-fix-ADC-init.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0015-beaglebone-fix-ADC-init.patch +3 -3
similarity index 92%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0015-beaglebone-fix-ADC-init.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0014-beaglebone-fix-ADC-init.patch
index 47f89db..cf3bee6 100644
@@ -1,7 +1,7 @@
-From baaf9182087ab02092c028f9a7d0c8a89c9cd4e2 Mon Sep 17 00:00:00 2001
+From 7bb1a67ac428c3a5b13411972bb74c0071eaa0d1 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 31 Jan 2012 14:50:55 +0100
-Subject: [PATCH 15/21] beaglebone: fix ADC init
+Subject: [PATCH 14/21] beaglebone: fix ADC init
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -43,5 +43,5 @@ index ac4f78f..177ab9e 100644
  };
  
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0015-AM335x-MUX-add-ehrpwm1A.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0016-AM335x-MUX-add-ehrpwm1A.patch +4 -4
similarity index 83%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0016-AM335x-MUX-add-ehrpwm1A.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0015-AM335x-MUX-add-ehrpwm1A.patch
index fca0fdf..24f5658 100644
@@ -1,7 +1,7 @@
-From 8fc518e3bc8d60b01f1d94942bd733cebb9a0a0e Mon Sep 17 00:00:00 2001
+From a6b5dbf7cd70d996f7d8a058633efc69bc5248e1 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 31 Jan 2012 16:49:52 +0100
-Subject: [PATCH 16/21] AM335x: MUX: add ehrpwm1A
+Subject: [PATCH 15/21] AM335x: MUX: add ehrpwm1A
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -9,7 +9,7 @@ Signed-off-by: Koen Kooi <[email protected]>
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c
-index e4cd407..0a06241 100644
+index 14ef129..fcb81ec 100644
 --- a/arch/arm/mach-omap2/mux33xx.c
 +++ b/arch/arm/mach-omap2/mux33xx.c
 @@ -85,7 +85,7 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
@@ -22,5 +22,5 @@ index e4cd407..0a06241 100644
  		"gpmc_a3", "mii2_txd2", "rgmii2_td2", "mmc2_dat2",
  		NULL, NULL, NULL, "gpio1_19"),
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch +6 -5
similarity index 95%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0017-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch
index b21c0ed..f3c93f4 100644
@@ -1,7 +1,8 @@
-From cf8d37c600dbe0d13e55874db46d385db435d6dc Mon Sep 17 00:00:00 2001
+From 69cea1f60bd1b22f382093feabf7fdec69f10f70 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 31 Jan 2012 17:02:10 +0100
-Subject: [PATCH 17/21] beaglebone: enable PWM for lcd backlight <- backlight is inverted
+Subject: [PATCH 16/21] beaglebone: enable PWM for lcd backlight <- backlight
+ is inverted
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -137,10 +138,10 @@ index 177ab9e..6a77194 100644
  	}
  	
 diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
-index 4b137e9..33291ae 100644
+index 198df7b..8cd2523 100644
 --- a/arch/arm/mach-omap2/devices.c
 +++ b/arch/arm/mach-omap2/devices.c
-@@ -1277,6 +1277,19 @@ void register_ehrpwm(int max_freq)
+@@ -1278,6 +1278,19 @@ void register_ehrpwm(int max_freq)
  	platform_device_register(&am335x_epwm2_device);
  }
  
@@ -172,5 +173,5 @@ index e086839..5161eb4 100644
  
  #endif
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch +4 -3
similarity index 84%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0018-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0017-omap_hsmmc-Set-dto-to-max-value-of-14-to-avoid-SD-Ca.patch
index edd293e..786ed1c 100644
@@ -1,7 +1,8 @@
-From 05698cd9793d58226c5d5a986537aaf906433851 Mon Sep 17 00:00:00 2001
+From 1e36791b2e956275e4165928fb0c65908029a693 Mon Sep 17 00:00:00 2001
 From: Steve Sakoman <[email protected]>
 Date: Mon, 18 Jul 2011 23:13:41 -0500
-Subject: [PATCH 18/21] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts
+Subject: [PATCH 17/21] omap_hsmmc: Set dto to max value of 14 to avoid SD
+ Card timeouts
 
 This fixes MMC errors due to timeouts on certain SD Cards following suggestions
 to set dto to 14 by Jason Kridner and Steven Kipisz
@@ -29,5 +30,5 @@ index 703013c..554237f 100644
  	reg |= dto << DTO_SHIFT;
  	OMAP_HSMMC_WRITE(host->base, SYSCTL, reg);
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch +4 -3
similarity index 83%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0019-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0018-beaglebone-set-default-brightness-to-50-for-pwm-back.patch
index 878bc22..39052cd 100644
@@ -1,7 +1,8 @@
-From 29f8dc540ea4b5ad963be07555d6ce9906b54dd4 Mon Sep 17 00:00:00 2001
+From 27e32a289edc6da85dbaa94926f3bbdd55185340 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Wed, 1 Feb 2012 14:10:38 +0100
-Subject: [PATCH 19/21] beaglebone: set default brightness to 50% for pwm backlights
+Subject: [PATCH 18/21] beaglebone: set default brightness to 50% for pwm
+ backlights
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -22,5 +23,5 @@ index 6a77194..c31c0aa 100644
  
  #define PWM_DEVICE_ID   "ecap.0"
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch +4 -3
similarity index 98%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0020-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0019-st7735fb-WIP-framebuffer-driver-supporting-Adafruit-.patch
index be807d9..e93bed3 100644
@@ -1,7 +1,8 @@
-From 4f8bf35db23976bbc4705ba57ae9e0df4b8442ab Mon Sep 17 00:00:00 2001
+From aba244518f8afad62e0113cc7f08fbf27d7a2c34 Mon Sep 17 00:00:00 2001
 From: Matt Porter <[email protected]>
 Date: Mon, 21 Nov 2011 12:55:23 -0500
-Subject: [PATCH 20/21] st7735fb: WIP framebuffer driver supporting Adafruit 1.8" SPI LCD
+Subject: [PATCH 19/21] st7735fb: WIP framebuffer driver supporting Adafruit
+ 1.8" SPI LCD
 
 Signed-off-by: Matt Porter <[email protected]>
 Signed-off-by: Koen Kooi <[email protected]>
@@ -663,5 +664,5 @@ index 0000000..250f036
 +
 +
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch +3 -3
similarity index 94%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0020-beaglebone-use-P8_6-gpio1_3-as-w1-bus.patch
index fa4aaa3..568b241 100644
@@ -1,7 +1,7 @@
-From 4428744c852ed5f9d5a7dfa9c5d0a783e6134582 Mon Sep 17 00:00:00 2001
+From b3a428ac863b594fc5538d94e6d706b230a29da7 Mon Sep 17 00:00:00 2001
 From: Koen Kooi <[email protected]>
 Date: Tue, 7 Feb 2012 11:01:13 +0100
-Subject: [PATCH 21/21] beaglebone: use P8_6 (gpio1_3) as w1 bus
+Subject: [PATCH 20/21] beaglebone: use P8_6 (gpio1_3) as w1 bus
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
@@ -79,5 +79,5 @@ index c31c0aa..538466d 100644
  };
  
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch renamed from recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch +20 -12
similarity index 91%
rename from recipes-kernel/linux/linux-ti33x-psp-3.2/0022-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch
rename to recipes-kernel/linux/linux-ti33x-psp-3.2/0021-beaglebone-add-support-for-Towertech-TT3201-CAN-cape.patch
index 086ace9..2c1c40c 100644
@@ -1,15 +1,15 @@
-From af31b4d5a2d52284b169633b9a601c39c7300300 Mon Sep 17 00:00:00 2001
+From 7a669d97dae9aa8b7404a9dbe6d559c422971566 Mon Sep 17 00:00:00 2001
 From: Alessandro Zummo <[email protected]>
 Date: Thu, 9 Feb 2012 12:46:52 +0100
-Subject: [PATCH 22/22] beaglebone: add support for Towertech TT3201 CAN cape
+Subject: [PATCH 21/21] beaglebone: add support for Towertech TT3201 CAN cape
 
 Signed-off-by: Koen Kooi <[email protected]>
 ---
  arch/arm/mach-omap2/board-am335xevm.c |   54 ++++++++++++++++++++++++++++++++-
- arch/arm/mach-omap2/mux33xx.c         |    4 +-
+ arch/arm/mach-omap2/mux33xx.c         |    8 ++--
  drivers/net/can/dev.c                 |    8 ++--
  drivers/net/can/mcp251x.c             |   47 ++++++++++++++++++++++------
- 4 files changed, 96 insertions(+), 17 deletions(-)
+ 4 files changed, 98 insertions(+), 19 deletions(-)
 
 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
 index 538466d..36efca1 100644
@@ -98,19 +98,27 @@ index 538466d..36efca1 100644
  		pr_info("BeagleBone cape: exporting ADC pins to sysfs\n");
  		bone_tsc_init(0,0);
 diff --git a/arch/arm/mach-omap2/mux33xx.c b/arch/arm/mach-omap2/mux33xx.c
-index 0a06241..e4f3bd9 100644
+index fcb81ec..2de76e3 100644
 --- a/arch/arm/mach-omap2/mux33xx.c
 +++ b/arch/arm/mach-omap2/mux33xx.c
-@@ -318,10 +318,10 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
- 		"uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl",
+@@ -312,16 +312,16 @@ static struct omap_mux __initdata am33xx_muxmodes[] = {
+ 		"uart0_txd", "spi1_cs1", "d_can0_rx", "i2c2_scl",
+ 		NULL, NULL, NULL, "gpio1_11"),
+ 	_AM33XX_MUXENTRY(UART1_CTSN, 0,
+-		"uart1_ctsn", NULL, NULL, "i2c2_sda",
++		"uart1_ctsn", NULL, "d_can0_tx", "i2c2_sda",
+ 		"spi1_cs0", NULL, NULL, "gpio0_12"),
+ 	_AM33XX_MUXENTRY(UART1_RTSN, 0,
+-		"uart1_rtsn", NULL, NULL, "i2c2_scl",
++		"uart1_rtsn", NULL, "d_can0_rx", "i2c2_scl",
  		"spi1_cs1", NULL, NULL, "gpio0_13"),
  	_AM33XX_MUXENTRY(UART1_RXD, 0,
--		"uart1_rxd", "mmc1_sdwp", NULL, NULL,
-+		"uart1_rxd", "mmc1_sdwp", "d_can1_tx", NULL,
+-		"uart1_rxd", "mmc1_sdwp", NULL, "i2c1_sda",
++		"uart1_rxd", "mmc1_sdwp", "d_can1_tx", "i2c1_sda",
  		NULL, "pr1_uart0_rxd_mux1", NULL, "gpio0_14"),
  	_AM33XX_MUXENTRY(UART1_TXD, 0,
--		"uart1_txd", "mmc2_sdwp", NULL, NULL,
-+		"uart1_txd", "mmc2_sdwp", "d_can1_rx", NULL,
+-		"uart1_txd", "mmc2_sdwp", NULL, "i2c1_scl",
++		"uart1_txd", "mmc2_sdwp", "d_can1_rx", "i2c1_scl",
  		NULL, "pr1_uart0_txd_mux1", NULL, "gpio0_15"),
  	_AM33XX_MUXENTRY(I2C0_SDA, 0,
  		"i2c0_sda", NULL, NULL, NULL,
@@ -308,5 +316,5 @@ index 330140e..b3e231c 100644
  	}
  error_probe:
 -- 
-1.7.2.5
+1.7.7.4
 
recipes-kernel/linux/linux-ti33x-psp_3.2.bb +22 -24

58 lines not on this page · raw message

Signature · 1 line
1.7.2.5