Skip to content

Commit ca04b3c

Browse files
committed
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "A small collection of fixes, sort of the usual at this point, all for i.MX or OMAP: - Enable ULPI drivers on i.MX to avoid a hang - Pinctrl fix for touchscreen on i.MX51 ZII RDU1 - Fixes for ethernet clock references on am3517 - mmc0 write protect detection fix for am335x - kzalloc->kcalloc conversion in an OMAP driver - USB metastability fix for USB on dra7 - Fix touchscreen wakeup on am437x" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM: imx_v4_v5_defconfig: Select ULPI support ARM: imx_v6_v7_defconfig: Select ULPI support ARM: dts: omap3: Fix am3517 mdio and emac clock references ARM: dts: am335x-bone-common: Fix mmc0 Write Protect bus: ti-sysc: Use 2-factor allocator arguments ARM: dts: dra7: Disable metastability workaround for USB2 ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl ARM: dts: am437x: make edt-ft5x06 a wakeup source
2 parents 23adbe6 + f0463f3 commit ca04b3c

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

arch/arm/boot/dts/am335x-bone-common.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
AM33XX_IOPAD(0x8f0, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
169169
AM33XX_IOPAD(0x904, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
170170
AM33XX_IOPAD(0x900, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
171-
AM33XX_IOPAD(0x9a0, PIN_INPUT | MUX_MODE4) /* mcasp0_aclkr.mmc0_sdwp */
172171
>;
173172
};
174173

arch/arm/boot/dts/am3517.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
ti,davinci-ctrl-ram-size = <0x2000>;
4040
ti,davinci-rmii-en = /bits/ 8 <1>;
4141
local-mac-address = [ 00 00 00 00 00 00 ];
42+
clocks = <&emac_ick>;
43+
clock-names = "ick";
4244
};
4345

4446
davinci_mdio: ethernet@5c030000 {
@@ -49,6 +51,8 @@
4951
bus_freq = <1000000>;
5052
#address-cells = <1>;
5153
#size-cells = <0>;
54+
clocks = <&emac_fck>;
55+
clock-names = "fck";
5256
};
5357

5458
uart4: serial@4809e000 {

arch/arm/boot/dts/am437x-sk-evm.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@
610610

611611
touchscreen-size-x = <480>;
612612
touchscreen-size-y = <272>;
613+
614+
wakeup-source;
613615
};
614616

615617
tlv320aic3106: tlv320aic3106@1b {

arch/arm/boot/dts/dra7.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,6 @@
15801580
dr_mode = "otg";
15811581
snps,dis_u3_susphy_quirk;
15821582
snps,dis_u2_susphy_quirk;
1583-
snps,dis_metastability_quirk;
15841583
};
15851584
};
15861585

@@ -1608,6 +1607,7 @@
16081607
dr_mode = "otg";
16091608
snps,dis_u3_susphy_quirk;
16101609
snps,dis_u2_susphy_quirk;
1610+
snps,dis_metastability_quirk;
16111611
};
16121612
};
16131613

arch/arm/boot/dts/imx51-zii-rdu1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@
770770

771771
pinctrl_ts: tsgrp {
772772
fsl,pins = <
773-
MX51_PAD_CSI1_D8__GPIO3_12 0x85
773+
MX51_PAD_CSI1_D8__GPIO3_12 0x04
774774
MX51_PAD_CSI1_D9__GPIO3_13 0x85
775775
>;
776776
};

arch/arm/configs/imx_v4_v5_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,11 @@ CONFIG_USB_STORAGE=y
141141
CONFIG_USB_CHIPIDEA=y
142142
CONFIG_USB_CHIPIDEA_UDC=y
143143
CONFIG_USB_CHIPIDEA_HOST=y
144+
CONFIG_USB_CHIPIDEA_ULPI=y
144145
CONFIG_NOP_USB_XCEIV=y
145146
CONFIG_USB_GADGET=y
146147
CONFIG_USB_ETH=m
148+
CONFIG_USB_ULPI_BUS=y
147149
CONFIG_MMC=y
148150
CONFIG_MMC_SDHCI=y
149151
CONFIG_MMC_SDHCI_PLTFM=y

arch/arm/configs/imx_v6_v7_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ CONFIG_USB_STORAGE=y
302302
CONFIG_USB_CHIPIDEA=y
303303
CONFIG_USB_CHIPIDEA_UDC=y
304304
CONFIG_USB_CHIPIDEA_HOST=y
305+
CONFIG_USB_CHIPIDEA_ULPI=y
305306
CONFIG_USB_SERIAL=m
306307
CONFIG_USB_SERIAL_GENERIC=y
307308
CONFIG_USB_SERIAL_FTDI_SIO=m
@@ -338,6 +339,7 @@ CONFIG_USB_GADGETFS=m
338339
CONFIG_USB_FUNCTIONFS=m
339340
CONFIG_USB_MASS_STORAGE=m
340341
CONFIG_USB_G_SERIAL=m
342+
CONFIG_USB_ULPI_BUS=y
341343
CONFIG_MMC=y
342344
CONFIG_MMC_SDHCI=y
343345
CONFIG_MMC_SDHCI_PLTFM=y

drivers/bus/ti-sysc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ static int sysc_get_clocks(struct sysc *ddata)
169169
const char *name;
170170
int nr_fck = 0, nr_ick = 0, i, error = 0;
171171

172-
ddata->clock_roles = devm_kzalloc(ddata->dev,
173-
sizeof(*ddata->clock_roles) *
172+
ddata->clock_roles = devm_kcalloc(ddata->dev,
174173
SYSC_MAX_CLOCKS,
174+
sizeof(*ddata->clock_roles),
175175
GFP_KERNEL);
176176
if (!ddata->clock_roles)
177177
return -ENOMEM;
@@ -200,8 +200,8 @@ static int sysc_get_clocks(struct sysc *ddata)
200200
return -EINVAL;
201201
}
202202

203-
ddata->clocks = devm_kzalloc(ddata->dev,
204-
sizeof(*ddata->clocks) * ddata->nr_clocks,
203+
ddata->clocks = devm_kcalloc(ddata->dev,
204+
ddata->nr_clocks, sizeof(*ddata->clocks),
205205
GFP_KERNEL);
206206
if (!ddata->clocks)
207207
return -ENOMEM;

0 commit comments

Comments
 (0)