Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'linux-can-next-for-4.10-20161201' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next

Marc Kleine-Budde says:

====================
pull-request: can-next 2016-12-01

this is a pull request of 4 patches for net-next/master.

There are two patches by Chris Paterson for the rcar_can and rcar_canfd
device tree binding documentation. And a patch by Geert Uytterhoeven
that corrects the order of interrupt specifiers.

The fourth patch by Colin Ian King fixes a spelling error in the
kvaser_usb driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

+17 -13
+7 -5
Documentation/devicetree/bindings/net/can/rcar_can.txt
··· 10 10 "renesas,can-r8a7793" if CAN controller is a part of R8A7793 SoC. 11 11 "renesas,can-r8a7794" if CAN controller is a part of R8A7794 SoC. 12 12 "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC. 13 + "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC. 13 14 "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device. 14 15 "renesas,rcar-gen2-can" for a generic R-Car Gen2 compatible device. 15 16 "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device. ··· 25 24 - pinctrl-0: pin control group to be used for this controller. 26 25 - pinctrl-names: must be "default". 27 26 28 - Required properties for "renesas,can-r8a7795" compatible: 29 - In R8A7795 SoC, "clkp2" can be CANFD clock. This is a div6 clock and can be 30 - used by both CAN and CAN FD controller at the same time. It needs to be scaled 31 - to maximum frequency if any of these controllers use it. This is done using 32 - the below properties. 27 + Required properties for "renesas,can-r8a7795" and "renesas,can-r8a7796" 28 + compatible: 29 + In R8A7795 and R8A7796 SoCs, "clkp2" can be CANFD clock. This is a div6 clock 30 + and can be used by both CAN and CAN FD controller at the same time. It needs to 31 + be scaled to maximum frequency if any of these controllers use it. This is done 32 + using the below properties: 33 33 34 34 - assigned-clocks: phandle of clkp2(CANFD) clock. 35 35 - assigned-clock-rates: maximum frequency of this clock.
+8 -6
Documentation/devicetree/bindings/net/can/rcar_canfd.txt
··· 5 5 - compatible: Must contain one or more of the following: 6 6 - "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller. 7 7 - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller. 8 + - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3) compatible controller. 8 9 9 10 When compatible with the generic version, nodes must list the 10 11 SoC-specific version corresponding to the platform first, followed by the 11 12 family-specific and/or generic versions. 12 13 13 14 - reg: physical base address and size of the R-Car CAN FD register map. 14 - - interrupts: interrupt specifier for the Global & Channel interrupts 15 + - interrupts: interrupt specifiers for the Channel & Global interrupts 15 16 - clocks: phandles and clock specifiers for 3 clock inputs. 16 17 - clock-names: 3 clock input name strings: "fck", "canfd", "can_clk". 17 18 - pinctrl-0: pin control group to be used for this controller. ··· 24 23 child node supports the "status" property only, which is used to 25 24 enable/disable the respective channel. 26 25 27 - Required properties for "renesas,r8a7795-canfd" compatible: 28 - In R8A7795 SoC, canfd clock is a div6 clock and can be used by both CAN 29 - and CAN FD controller at the same time. It needs to be scaled to maximum 30 - frequency if any of these controllers use it. This is done using the 31 - below properties. 26 + Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd" 27 + compatible: 28 + In R8A7795 and R8A7796 SoCs, canfd clock is a div6 clock and can be used by both 29 + CAN and CAN FD controller at the same time. It needs to be scaled to maximum 30 + frequency if any of these controllers use it. This is done using the below 31 + properties: 32 32 33 33 - assigned-clocks: phandle of canfd clock. 34 34 - assigned-clock-rates: maximum frequency of this clock.
+2 -2
drivers/net/can/usb/kvaser_usb.c
··· 459 459 struct usb_endpoint_descriptor *bulk_in, *bulk_out; 460 460 struct usb_anchor rx_submitted; 461 461 462 - /* @max_tx_urbs: Firmware-reported maximum number of oustanding, 462 + /* @max_tx_urbs: Firmware-reported maximum number of outstanding, 463 463 * not yet ACKed, transmissions on this device. This value is 464 464 * also used as a sentinel for marking free tx contexts. 465 465 */ ··· 2027 2027 ((dev->fw_version >> 16) & 0xff), 2028 2028 (dev->fw_version & 0xffff)); 2029 2029 2030 - dev_dbg(&intf->dev, "Max oustanding tx = %d URBs\n", dev->max_tx_urbs); 2030 + dev_dbg(&intf->dev, "Max outstanding tx = %d URBs\n", dev->max_tx_urbs); 2031 2031 2032 2032 err = kvaser_usb_get_card_info(dev); 2033 2033 if (err) {