Changeset 47983
- Timestamp:
- 2015-12-23T15:45:05+01:00 (2 years ago)
- Location:
- trunk/target/linux/ar71xx/patches-4.1
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/ar71xx/patches-4.1/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch
r47981 r47983 237 237 ar93xx_wmac_otp_read_word(void __iomem *base, int addr, u32 *data) 238 238 { 239 @@ -392,6 +41 0,8 @@ void __init ath79_register_wmac(u8 *cal_239 @@ -392,6 +412,8 @@ void __init ath79_register_wmac(u8 *cal_ 240 240 qca953x_wmac_setup(); 241 241 else if (soc_is_qca955x()) -
trunk/target/linux/ar71xx/patches-4.1/630-MIPS-ath79-fix-chained-irq-disable.patch
r46430 r47983 10 10 static void ath79_misc_irq_handler(unsigned int irq, struct irq_desc *desc) 11 11 { 12 @@ -1 49,8 +151,7 @@ static void ar934x_ip2_irq_init(void)12 @@ -150,8 +152,7 @@ static void ar934x_ip2_irq_init(void) 13 13 14 14 for (i = ATH79_IP2_IRQ_BASE; … … 20 20 irq_set_chained_handler(ATH79_CPU_IRQ(2), ar934x_ip2_irq_dispatch); 21 21 } 22 @@ -18 2,7 +183,7 @@ static void qca953x_irq_init(void)22 @@ -183,7 +184,7 @@ static void qca953x_irq_init(void) 23 23 24 24 for (i = ATH79_IP2_IRQ_BASE; … … 29 29 irq_set_chained_handler(ATH79_CPU_IRQ(2), qca953x_ip2_irq_dispatch); 30 30 } 31 @@ -25 6,15 +257,13 @@ static void qca955x_irq_init(void)31 @@ -257,15 +258,13 @@ static void qca955x_irq_init(void) 32 32 33 33 for (i = ATH79_IP2_IRQ_BASE; … … 47 47 irq_set_chained_handler(ATH79_CPU_IRQ(3), qca955x_ip3_irq_dispatch); 48 48 } 49 @@ -34 5,13 +344,13 @@ static void qca956x_irq_init(void)49 @@ -346,13 +345,13 @@ static void qca956x_irq_init(void) 50 50 51 51 for (i = ATH79_IP2_IRQ_BASE; … … 63 63 irq_set_chained_handler(ATH79_CPU_IRQ(3), qca956x_ip3_irq_dispatch); 64 64 65 @@ -46 6,8 +465,35 @@ static void qca953x_ip3_handler(void)65 @@ -467,8 +466,35 @@ static void qca953x_ip3_handler(void) 66 66 do_IRQ(ATH79_CPU_IRQ(3)); 67 67 } -
trunk/target/linux/ar71xx/patches-4.1/631-MIPS-ath79-wmac-enable-set-led-pin.patch
r46430 r47983 1 1 --- a/arch/mips/ath79/dev-wmac.c 2 2 +++ b/arch/mips/ath79/dev-wmac.c 3 @@ - 398,6 +398,11 @@ void __init ath79_wmac_set_ext_lna_gpio(3 @@ -400,6 +400,11 @@ void __init ath79_wmac_set_ext_lna_gpio( 4 4 ar934x_set_ext_lna_gpio(chain, gpio); 5 5 } -
trunk/target/linux/ar71xx/patches-4.1/633-MIPS-ath79-add-gpio-irq-support.patch
r46430 r47983 30 30 { 31 31 void __iomem *base = ath79_gpio_base; 32 @@ -23 3,6 +245,132 @@ void __init ath79_gpio_output_select(uns32 @@ -235,6 +247,132 @@ void __init ath79_gpio_output_select(uns 33 33 spin_unlock_irqrestore(&ath79_gpio_lock, flags); 34 34 } … … 163 163 { 164 164 int err; 165 @@ -2 69,6 +407,10 @@ void __init ath79_gpio_init(void)165 @@ -271,6 +409,10 @@ void __init ath79_gpio_init(void) 166 166 err = gpiochip_add(&ath79_gpio_chip); 167 167 if (err) … … 174 174 175 175 int gpio_get_value(unsigned gpio) 176 @@ -29 1,14 +433,22 @@ EXPORT_SYMBOL(gpio_set_value);176 @@ -293,14 +435,22 @@ EXPORT_SYMBOL(gpio_set_value); 177 177 178 178 int gpio_to_irq(unsigned gpio) -
trunk/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
r47981 r47983 1 1 --- a/arch/mips/ath79/gpio.c 2 2 +++ b/arch/mips/ath79/gpio.c 3 @@ -22 1,15 +221,30 @@ void __init ath79_gpio_output_select(uns3 @@ -223,15 +223,30 @@ void __init ath79_gpio_output_select(uns 4 4 { 5 5 void __iomem *base = ath79_gpio_base; … … 38 38 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 39 39 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 40 @@ -8 68,6 +868,14 @@40 @@ -875,6 +875,14 @@ 41 41 #define QCA953X_GPIO_OUT_MUX_LED_LINK4 44 42 42 #define QCA953X_GPIO_OUT_MUX_LED_LINK5 45 … … 53 53 #define QCA956X_GPIO_REG_OUT_FUNC1 0x30 54 54 #define QCA956X_GPIO_REG_OUT_FUNC2 0x34 55 @@ -10 07,6 +1015,8 @@55 @@ -1014,6 +1022,8 @@ 56 56 #define AR934X_GPIO_OUT_EXT_LNA0 46 57 57 #define AR934X_GPIO_OUT_EXT_LNA1 47 -
trunk/target/linux/ar71xx/patches-4.1/742-MIPS-ath79-add-qca955x-mac-tx-rx-delay-defs.patch
r47882 r47983 1 1 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 2 2 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 3 @@ -1 098,5 +1098,11 @@4 3 @@ -1105,5 +1105,11 @@ 4 5 5 #define QCA955X_ETH_CFG_RGMII_EN BIT(0) 6 6 #define QCA955X_ETH_CFG_GE0_SGMII BIT(6) … … 11 11 +#define QCA955X_ETH_CFG_RDV_DELAY_MASK 0x3 12 12 +#define QCA955X_ETH_CFG_RDV_DELAY_SHIFT 16 13 13 14 14 #endif /* __ASM_MACH_AR71XX_REGS_H */ -
trunk/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
r47449 r47983 15 15 --- a/arch/mips/ath79/gpio.c 16 16 +++ b/arch/mips/ath79/gpio.c 17 @@ -19 3,6 +193,36 @@ static void __iomem *ath79_gpio_get_func17 @@ -195,6 +195,36 @@ static void __iomem *ath79_gpio_get_func 18 18 return ath79_gpio_base + reg; 19 19 } … … 54 54 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 55 55 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h 56 @@ -84 0,6 +840,7 @@56 @@ -847,6 +847,7 @@ 57 57 #define AR71XX_GPIO_REG_INT_PENDING 0x20 58 58 #define AR71XX_GPIO_REG_INT_ENABLE 0x24 … … 62 62 #define AR934X_GPIO_REG_OUT_FUNC0 0x2c 63 63 #define AR934X_GPIO_REG_OUT_FUNC1 0x30 64 @@ -9 64,6 +965,8 @@64 @@ -971,6 +972,8 @@ 65 65 #define AR724X_GPIO_FUNC_UART_EN BIT(1) 66 66 #define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0)
Note: See TracChangeset
for help on using the changeset viewer.