Skip to content

Commit 12a0870

Browse files
author
Alex Shi
committed
Merge tag 'v4.4.3' into linux-linaro-lsk-v4.4
This is the 4.4.3 stable release
2 parents 34f6d2c + 2134d97 commit 12a0870

248 files changed

Lines changed: 2981 additions & 1147 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

MAINTAINERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10289,9 +10289,11 @@ S: Maintained
1028910289
F: drivers/net/ethernet/dlink/sundance.c
1029010290

1029110291
SUPERH
10292+
M: Yoshinori Sato <ysato@users.sourceforge.jp>
10293+
M: Rich Felker <dalias@libc.org>
1029210294
L: linux-sh@vger.kernel.org
1029310295
Q: http://patchwork.kernel.org/project/linux-sh/list/
10294-
S: Orphan
10296+
S: Maintained
1029510297
F: Documentation/sh/
1029610298
F: arch/sh/
1029710299
F: drivers/sh/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 4
3-
SUBLEVEL = 1
3+
SUBLEVEL = 3
44
EXTRAVERSION =
55
NAME = Blurry Fish Butt
66

arch/arm/boot/dts/armada-388-gp.dts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -303,16 +303,6 @@
303303
gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
304304
};
305305

306-
reg_usb2_1_vbus: v5-vbus1 {
307-
compatible = "regulator-fixed";
308-
regulator-name = "v5.0-vbus1";
309-
regulator-min-microvolt = <5000000>;
310-
regulator-max-microvolt = <5000000>;
311-
enable-active-high;
312-
regulator-always-on;
313-
gpio = <&expander0 4 GPIO_ACTIVE_HIGH>;
314-
};
315-
316306
reg_sata0: pwr-sata0 {
317307
compatible = "regulator-fixed";
318308
regulator-name = "pwr_en_sata0";

arch/arm/boot/dts/at91-sama5d4_xplained.dts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@
8686
macb0: ethernet@f8020000 {
8787
phy-mode = "rmii";
8888
status = "okay";
89+
pinctrl-names = "default";
90+
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
8991

9092
phy0: ethernet-phy@1 {
9193
interrupt-parent = <&pioE>;
92-
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
94+
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
9395
reg = <1>;
9496
};
9597
};
@@ -152,6 +154,10 @@
152154
atmel,pins =
153155
<AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
154156
};
157+
pinctrl_macb0_phy_irq: macb0_phy_irq_0 {
158+
atmel,pins =
159+
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
160+
};
155161
};
156162
};
157163
};

arch/arm/boot/dts/at91-sama5d4ek.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,15 @@
160160
};
161161

162162
macb0: ethernet@f8020000 {
163+
pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
163164
phy-mode = "rmii";
164165
status = "okay";
166+
167+
ethernet-phy@1 {
168+
reg = <0x1>;
169+
interrupt-parent = <&pioE>;
170+
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
171+
};
165172
};
166173

167174
mmc1: mmc@fc000000 {
@@ -193,6 +200,10 @@
193200

194201
pinctrl@fc06a000 {
195202
board {
203+
pinctrl_macb0_phy_irq: macb0_phy_irq {
204+
atmel,pins =
205+
<AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
206+
};
196207
pinctrl_mmc0_cd: mmc0_cd {
197208
atmel,pins =
198209
<AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;

arch/arm/boot/dts/logicpd-torpedo-som.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
interrupt-parent = <&gpio5>;
123123
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */
124124
ref-clock-frequency = <26000000>;
125+
tcxo-clock-frequency = <26000000>;
125126
};
126127
};
127128

arch/arm/boot/dts/omap5-board-common.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,16 @@
130130
};
131131
};
132132

133+
&gpio8 {
134+
/* TI trees use GPIO instead of msecure, see also muxing */
135+
p234 {
136+
gpio-hog;
137+
gpios = <10 GPIO_ACTIVE_HIGH>;
138+
output-high;
139+
line-name = "gpio8_234/msecure";
140+
};
141+
};
142+
133143
&omap5_pmx_core {
134144
pinctrl-names = "default";
135145
pinctrl-0 = <
@@ -213,6 +223,13 @@
213223
>;
214224
};
215225

226+
/* TI trees use GPIO mode; msecure mode does not work reliably? */
227+
palmas_msecure_pins: palmas_msecure_pins {
228+
pinctrl-single,pins = <
229+
OMAP5_IOPAD(0x180, PIN_OUTPUT | MUX_MODE6) /* gpio8_234 */
230+
>;
231+
};
232+
216233
usbhost_pins: pinmux_usbhost_pins {
217234
pinctrl-single,pins = <
218235
0x84 (PIN_INPUT | MUX_MODE0) /* usbb2_hsic_strobe */
@@ -278,6 +295,12 @@
278295
&usbhost_wkup_pins
279296
>;
280297

298+
palmas_sys_nirq_pins: pinmux_palmas_sys_nirq_pins {
299+
pinctrl-single,pins = <
300+
OMAP5_IOPAD(0x068, PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1 */
301+
>;
302+
};
303+
281304
usbhost_wkup_pins: pinmux_usbhost_wkup_pins {
282305
pinctrl-single,pins = <
283306
0x1A (PIN_OUTPUT | MUX_MODE0) /* fref_clk1_out, USB hub clk */
@@ -345,6 +368,8 @@
345368
interrupt-controller;
346369
#interrupt-cells = <2>;
347370
ti,system-power-controller;
371+
pinctrl-names = "default";
372+
pinctrl-0 = <&palmas_sys_nirq_pins &palmas_msecure_pins>;
348373

349374
extcon_usb3: palmas_usb {
350375
compatible = "ti,palmas-usb-vid";
@@ -358,6 +383,14 @@
358383
#clock-cells = <0>;
359384
};
360385

386+
rtc {
387+
compatible = "ti,palmas-rtc";
388+
interrupt-parent = <&palmas>;
389+
interrupts = <8 IRQ_TYPE_NONE>;
390+
ti,backup-battery-chargeable;
391+
ti,backup-battery-charge-high-current;
392+
};
393+
361394
palmas_pmic {
362395
compatible = "ti,palmas-pmic";
363396
interrupt-parent = <&palmas>;

arch/arm/boot/dts/sama5d4.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@
13421342
dbgu: serial@fc069000 {
13431343
compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
13441344
reg = <0xfc069000 0x200>;
1345-
interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
1345+
interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
13461346
pinctrl-names = "default";
13471347
pinctrl-0 = <&pinctrl_dbgu>;
13481348
clocks = <&dbgu_clk>;

arch/arm/boot/dts/ste-nomadik-stn8815.dtsi

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,14 @@
127127
};
128128
mmcsd_default_mode: mmcsd_default {
129129
mmcsd_default_cfg1 {
130-
/* MCCLK */
131-
pins = "GPIO8_B10";
132-
ste,output = <0>;
133-
};
134-
mmcsd_default_cfg2 {
135-
/* MCCMDDIR, MCDAT0DIR, MCDAT31DIR, MCDATDIR2 */
136-
pins = "GPIO10_C11", "GPIO15_A12",
137-
"GPIO16_C13", "GPIO23_D15";
138-
ste,output = <1>;
139-
};
140-
mmcsd_default_cfg3 {
141-
/* MCCMD, MCDAT3-0, MCMSFBCLK */
142-
pins = "GPIO9_A10", "GPIO11_B11",
143-
"GPIO12_A11", "GPIO13_C12",
144-
"GPIO14_B12", "GPIO24_C15";
145-
ste,input = <1>;
130+
/*
131+
* MCCLK, MCCMDDIR, MCDAT0DIR, MCDAT31DIR, MCDATDIR2
132+
* MCCMD, MCDAT3-0, MCMSFBCLK
133+
*/
134+
pins = "GPIO8_B10", "GPIO9_A10", "GPIO10_C11", "GPIO11_B11",
135+
"GPIO12_A11", "GPIO13_C12", "GPIO14_B12", "GPIO15_A12",
136+
"GPIO16_C13", "GPIO23_D15", "GPIO24_C15";
137+
ste,output = <2>;
146138
};
147139
};
148140
};
@@ -802,10 +794,21 @@
802794
clock-names = "mclk", "apb_pclk";
803795
interrupt-parent = <&vica>;
804796
interrupts = <22>;
805-
max-frequency = <48000000>;
797+
max-frequency = <400000>;
806798
bus-width = <4>;
807799
cap-mmc-highspeed;
808800
cap-sd-highspeed;
801+
full-pwr-cycle;
802+
/*
803+
* The STw4811 circuit used with the Nomadik strictly
804+
* requires that all of these signal direction pins be
805+
* routed and used for its 4-bit levelshifter.
806+
*/
807+
st,sig-dir-dat0;
808+
st,sig-dir-dat2;
809+
st,sig-dir-dat31;
810+
st,sig-dir-cmd;
811+
st,sig-pin-fbclk;
809812
pinctrl-names = "default";
810813
pinctrl-0 = <&mmcsd_default_mux>, <&mmcsd_default_mode>;
811814
vmmc-supply = <&vmmc_regulator>;

arch/arm/common/icst.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
#include <linux/module.h>
1818
#include <linux/kernel.h>
19-
19+
#include <asm/div64.h>
2020
#include <asm/hardware/icst.h>
2121

2222
/*
@@ -29,7 +29,11 @@ EXPORT_SYMBOL(icst525_s2div);
2929

3030
unsigned long icst_hz(const struct icst_params *p, struct icst_vco vco)
3131
{
32-
return p->ref * 2 * (vco.v + 8) / ((vco.r + 2) * p->s2div[vco.s]);
32+
u64 dividend = p->ref * 2 * (u64)(vco.v + 8);
33+
u32 divisor = (vco.r + 2) * p->s2div[vco.s];
34+
35+
do_div(dividend, divisor);
36+
return (unsigned long)dividend;
3337
}
3438

3539
EXPORT_SYMBOL(icst_hz);
@@ -58,6 +62,7 @@ icst_hz_to_vco(const struct icst_params *p, unsigned long freq)
5862

5963
if (f > p->vco_min && f <= p->vco_max)
6064
break;
65+
i++;
6166
} while (i < 8);
6267

6368
if (i >= 8)

0 commit comments

Comments
 (0)