5 years agoMerge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into... 20190221_0824 ti-rt-linux-4.14.y-next-20190220 ti-rt-linux-4.14.y-next-20190221 ti-rt-linux-4.19.y-next-20190220 ti-rt-linux-4.19.y-next-20190221
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ARM: dts: nss 2u: update for using syscon node and phandles
net: netcp: nss 2u: use syscon phandle to access subsystem
dt-bindings: keystone-netcp: use syscon to access subsystem control for nss 2u switch
ARM: dts: keystone: enable all dma channels for NetCP
HACK: net: netcp: ale: add sysfs interface for control, ale table show
HACK: net: netcp: add sysfs configuration/control for netcp ethss switch
HACK: net: netcp: preparatory patch to introduce sysfs support
ARM: dts: keystone: evm: enable gbe serdes support
ARM: dts: add gbe serdes phy nodes and phandles for netcp dt nodes
ti_config_fragments/connectivity.cfg: Enable Keystone SerDes driver
net: keystone: add support of keystone common serdes phy driver for gbe
dt-bindings: net: keystone-netcp: update to work with serdes phy
phy: keystone: serdes driver for 1gbe, 10gbe and pcie
dt-bindings: phy: add dt bindings for phy-keystone-serdes
net: netcp: fix error in link status display
net: netcp: ethss: add support of 10gbe pcsr link status
dt-bindings: net: keystone-netcp: use syscon for pcs-r module region access
ARM: dts: add gbe syscon subsys dt node for netcp
net: netcp: ethss: add support of subsystem register region regmap
dt-bindings: net: keystone-netcp: use syscon for netcp subsystem control access
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ARM: dts: nss 2u: update for using syscon node and phandles
net: netcp: nss 2u: use syscon phandle to access subsystem
dt-bindings: keystone-netcp: use syscon to access subsystem control for nss 2u switch
ARM: dts: keystone: enable all dma channels for NetCP
HACK: net: netcp: ale: add sysfs interface for control, ale table show
HACK: net: netcp: add sysfs configuration/control for netcp ethss switch
HACK: net: netcp: preparatory patch to introduce sysfs support
ARM: dts: keystone: evm: enable gbe serdes support
ARM: dts: add gbe serdes phy nodes and phandles for netcp dt nodes
ti_config_fragments/connectivity.cfg: Enable Keystone SerDes driver
net: keystone: add support of keystone common serdes phy driver for gbe
dt-bindings: net: keystone-netcp: update to work with serdes phy
phy: keystone: serdes driver for 1gbe, 10gbe and pcie
dt-bindings: phy: add dt bindings for phy-keystone-serdes
net: netcp: fix error in link status display
net: netcp: ethss: add support of 10gbe pcsr link status
dt-bindings: net: keystone-netcp: use syscon for pcs-r module region access
ARM: dts: add gbe syscon subsys dt node for netcp
net: netcp: ethss: add support of subsystem register region regmap
dt-bindings: net: keystone-netcp: use syscon for netcp subsystem control access
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel into ti-linux-4.19.y
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
ARM: dts: nss 2u: update for using syscon node and phandles
net: netcp: nss 2u: use syscon phandle to access subsystem
dt-bindings: keystone-netcp: use syscon to access subsystem control for nss 2u switch
ARM: dts: keystone: enable all dma channels for NetCP
HACK: net: netcp: ale: add sysfs interface for control, ale table show
HACK: net: netcp: add sysfs configuration/control for netcp ethss switch
HACK: net: netcp: preparatory patch to introduce sysfs support
ARM: dts: keystone: evm: enable gbe serdes support
ARM: dts: add gbe serdes phy nodes and phandles for netcp dt nodes
ti_config_fragments/connectivity.cfg: Enable Keystone SerDes driver
net: keystone: add support of keystone common serdes phy driver for gbe
dt-bindings: net: keystone-netcp: update to work with serdes phy
phy: keystone: serdes driver for 1gbe, 10gbe and pcie
dt-bindings: phy: add dt bindings for phy-keystone-serdes
net: netcp: fix error in link status display
net: netcp: ethss: add support of 10gbe pcsr link status
dt-bindings: net: keystone-netcp: use syscon for pcs-r module region access
ARM: dts: add gbe syscon subsys dt node for netcp
net: netcp: ethss: add support of subsystem register region regmap
dt-bindings: net: keystone-netcp: use syscon for netcp subsystem control access
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
ARM: dts: nss 2u: update for using syscon node and phandles
net: netcp: nss 2u: use syscon phandle to access subsystem
dt-bindings: keystone-netcp: use syscon to access subsystem control for nss 2u switch
ARM: dts: keystone: enable all dma channels for NetCP
HACK: net: netcp: ale: add sysfs interface for control, ale table show
HACK: net: netcp: add sysfs configuration/control for netcp ethss switch
HACK: net: netcp: preparatory patch to introduce sysfs support
ARM: dts: keystone: evm: enable gbe serdes support
ARM: dts: add gbe serdes phy nodes and phandles for netcp dt nodes
ti_config_fragments/connectivity.cfg: Enable Keystone SerDes driver
net: keystone: add support of keystone common serdes phy driver for gbe
dt-bindings: net: keystone-netcp: update to work with serdes phy
phy: keystone: serdes driver for 1gbe, 10gbe and pcie
dt-bindings: phy: add dt bindings for phy-keystone-serdes
net: netcp: fix error in link status display
net: netcp: ethss: add support of 10gbe pcsr link status
dt-bindings: net: keystone-netcp: use syscon for pcs-r module region access
ARM: dts: add gbe syscon subsys dt node for netcp
net: netcp: ethss: add support of subsystem register region regmap
dt-bindings: net: keystone-netcp: use syscon for netcp subsystem control access
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
ARM: dts: nss 2u: update for using syscon node and phandles
This is an update for the dt node for netcp to match with
latest dt documentation to use syscon node and phandle
to access subsystem area of nss 2u switch. Also adjust switch
module index accordingly.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This is an update for the dt node for netcp to match with
latest dt documentation to use syscon node and phandle
to access subsystem area of nss 2u switch. Also adjust switch
module index accordingly.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: netcp: nss 2u: use syscon phandle to access subsystem
Like other netcp devices, use syscon phandle to access
subsystem area of NSS 2u switch so that the driver can read
the ss version of the switch in a similar way. Also fix the
code not to access the sgmii registers on NSS 2u switch as
it doesn't exist and rgmii h/w interface is used. So change
code to use regmap_read() to read RGMII status register.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Like other netcp devices, use syscon phandle to access
subsystem area of NSS 2u switch so that the driver can read
the ss version of the switch in a similar way. Also fix the
code not to access the sgmii registers on NSS 2u switch as
it doesn't exist and rgmii h/w interface is used. So change
code to use regmap_read() to read RGMII status register.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
dt-bindings: keystone-netcp: use syscon to access subsystem control for nss 2u switch
Like NetCP 1.4/1.5, manage subsystem control NSS register space (Emac)
using syscon so that driver code looks similar for all variants of
netcp. So adjust the index of Switch module to index 0 and others are
calculated relative to this index. While at it also fix some typos in
the description.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Like NetCP 1.4/1.5, manage subsystem control NSS register space (Emac)
using syscon so that driver code looks similar for all variants of
netcp. So adjust the index of Switch module to index 0 and others are
calculated relative to this index. While at it also fix some typos in
the description.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ARM: dts: keystone: enable all dma channels for NetCP
In Keystone, there are user space low level drivers using uio interface
that pushes packets to NetCP queues. So it is necessary to enable all of
the channels associated with these queues. Enable the existing DT
property in pkt dma device bindings to do this and ensure backward
compatibility with existing applications when they move to work with
latest kernel.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
In Keystone, there are user space low level drivers using uio interface
that pushes packets to NetCP queues. So it is necessary to enable all of
the channels associated with these queues. Enable the existing DT
property in pkt dma device bindings to do this and ensure backward
compatibility with existing applications when they move to work with
latest kernel.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
HACK: net: netcp: ale: add sysfs interface for control, ale table show
This patch enhances the ale driver to support sysfs interface for control
and ale table show. This is done only for ALE hardware found on NetCP
by reading the ale version and register the interface only for ALE on
NetCP hardware.
This patch is being marked as a hack because these controls should be
implemented using DSA/Switchdev support in the driver. This requires
the driver to be migrated to that framework. Also, some other controls
require additional enhancements to user space tools such as iproute and
ethtool.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This patch enhances the ale driver to support sysfs interface for control
and ale table show. This is done only for ALE hardware found on NetCP
by reading the ale version and register the interface only for ALE on
NetCP hardware.
This patch is being marked as a hack because these controls should be
implemented using DSA/Switchdev support in the driver. This requires
the driver to be migrated to that framework. Also, some other controls
require additional enhancements to user space tools such as iproute and
ethtool.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
HACK: net: netcp: add sysfs configuration/control for netcp ethss switch
Add sysfs interface to allow update of the switch configuration
at run time from user space for cpsw available on all K2 SoCs.
Some of these parameters are fields from control register, vlan,
flow control etc. Additionally provide an interface to reset the stats.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Add sysfs interface to allow update of the switch configuration
at run time from user space for cpsw available on all K2 SoCs.
Some of these parameters are fields from control register, vlan,
flow control etc. Additionally provide an interface to reset the stats.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
HACK: net: netcp: preparatory patch to introduce sysfs support
sysfs configuration/control is used for updating the switch
configuration from user space. As there is a significant code
being added for this, it make sense to add it in a separate file
and would require some of the private definitions to be accessed
from the sysfs code. So move common defines to a separate header
file for use in sysfs code.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
sysfs configuration/control is used for updating the switch
configuration from user space. As there is a significant code
being added for this, it make sense to add it in a separate file
and would require some of the private definitions to be accessed
from the sysfs code. So move common defines to a separate header
file for use in sysfs code.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ARM: dts: keystone: evm: enable gbe serdes support
This patch enables the gbe serdes support on boards that
use it.
As such gbe does not depend on the SerDes configurations
from u-boot.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This patch enables the gbe serdes support on boards that
use it.
As such gbe does not depend on the SerDes configurations
from u-boot.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ARM: dts: add gbe serdes phy nodes and phandles for netcp dt nodes
This patch adds the serdes phy dt nodes and phandles to access
the same from netcp nodes for the gbe switch. As such the gbe
serdes can be configured during driver initialization. In other
words, it no longer needs to rely on the serdes configurations
inherited from u-boot. While at it, also remove commented properties
from the DTS.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This patch adds the serdes phy dt nodes and phandles to access
the same from netcp nodes for the gbe switch. As such the gbe
serdes can be configured during driver initialization. In other
words, it no longer needs to rely on the serdes configurations
inherited from u-boot. While at it, also remove commented properties
from the DTS.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ti_config_fragments/connectivity.cfg: Enable Keystone SerDes driver
Add this to support serdes driver for gbe/10gbe/pcie
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Add this to support serdes driver for gbe/10gbe/pcie
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: keystone: add support of keystone common serdes phy driver for gbe
Prior to this patch, gbe inherits the SerDes configurations from
u-boot. This patch updates the Keystone ethernet driver to use the
generic Keystone serdes phy driver for serdes initialization
and configuration. The common serdes phy driver supports peripherals
on Keystone platforms that require serdes namely 1GBE, 10GBE, PCIE,
and SRIO. This also replace the netcp_xgbepcsr.c for 10GBE and is
thus removed as part of this patch.
Additionally, this patch introduced serdes lane recovery procedure for
1gbe and 10gbe links. When the remote device that the 10gbe device is
connected to is restarted for whatever reason, the receive direction of
a 10gbe serdes lane will need to be reset in order to sync up again with
the remote device's transmit pattern. When 10gbe driver detects a serdes
lane down, it will start a periodic attempt to recover the receive
direction of that lane. Similar changes done for 1gbe serdes lane receive
recovery when MAC_MAC_ENFORCED interface configuration is used.
This patch also adopts the remodeling of one serdes lane as a separate
PHY device. Hence phy_init() is invoked per each Ethernet interface.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Rex Chang <rchang@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Prior to this patch, gbe inherits the SerDes configurations from
u-boot. This patch updates the Keystone ethernet driver to use the
generic Keystone serdes phy driver for serdes initialization
and configuration. The common serdes phy driver supports peripherals
on Keystone platforms that require serdes namely 1GBE, 10GBE, PCIE,
and SRIO. This also replace the netcp_xgbepcsr.c for 10GBE and is
thus removed as part of this patch.
Additionally, this patch introduced serdes lane recovery procedure for
1gbe and 10gbe links. When the remote device that the 10gbe device is
connected to is restarted for whatever reason, the receive direction of
a 10gbe serdes lane will need to be reset in order to sync up again with
the remote device's transmit pattern. When 10gbe driver detects a serdes
lane down, it will start a periodic attempt to recover the receive
direction of that lane. Similar changes done for 1gbe serdes lane receive
recovery when MAC_MAC_ENFORCED interface configuration is used.
This patch also adopts the remodeling of one serdes lane as a separate
PHY device. Hence phy_init() is invoked per each Ethernet interface.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Rex Chang <rchang@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
dt-bindings: net: keystone-netcp: update to work with serdes phy
This patch updates the netcp bindings to use common serdes driver. For
1GgE and 10GbE, the netcp bindings provide a phandle to the SerDes Phy
device.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This patch updates the netcp bindings to use common serdes driver. For
1GgE and 10GbE, the netcp bindings provide a phandle to the SerDes Phy
device.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
phy: keystone: serdes driver for 1gbe, 10gbe and pcie
On TI's Keystone platforms, several peripherals such as the
gbe ethernet switch, 10gbe ethernet switch and PCIe controller
require the use of a SerDes for converting SoC parallel data into
serialized data that can be output over a high-speed electrical
interface, and also converting high-speed serial input data
into parallel data that can be processed by the SoC. The
SerDeses used by those peripherals, though they may be different,
are largely similar in functionality and setup.
This patch provides a SerDes phy driver implementation that can be
used by the above mentioned peripheral drivers to configure their
respective SerDeses.
The SerDes configurations are divided mainly in two parts, namely,
a common configuration which is done regardless a SerDes lane is
actually used or not, and a lane specific configuration which is
done when a lane is actually used by, for example, a network interface.
The common configuration is performed by the SerDes provider
driver, ie., phy-keystone-serdes.c, at driver probe. The lane
specific configuration is invoked by the corresponding peripheral
driver, for example network switch driver, through the PHY API.
The SerDes IP is owned by a 3rd party and this patch uses no comments
in the driver as recommended by the vendor. Also the license header
used in the file is in accordance with the vendor's recommendation
of using BSD license for the driver file.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Jack Manbeck <j-manbeck2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
On TI's Keystone platforms, several peripherals such as the
gbe ethernet switch, 10gbe ethernet switch and PCIe controller
require the use of a SerDes for converting SoC parallel data into
serialized data that can be output over a high-speed electrical
interface, and also converting high-speed serial input data
into parallel data that can be processed by the SoC. The
SerDeses used by those peripherals, though they may be different,
are largely similar in functionality and setup.
This patch provides a SerDes phy driver implementation that can be
used by the above mentioned peripheral drivers to configure their
respective SerDeses.
The SerDes configurations are divided mainly in two parts, namely,
a common configuration which is done regardless a SerDes lane is
actually used or not, and a lane specific configuration which is
done when a lane is actually used by, for example, a network interface.
The common configuration is performed by the SerDes provider
driver, ie., phy-keystone-serdes.c, at driver probe. The lane
specific configuration is invoked by the corresponding peripheral
driver, for example network switch driver, through the PHY API.
The SerDes IP is owned by a 3rd party and this patch uses no comments
in the driver as recommended by the vendor. Also the license header
used in the file is in accordance with the vendor's recommendation
of using BSD license for the driver file.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Jack Manbeck <j-manbeck2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
dt-bindings: phy: add dt bindings for phy-keystone-serdes
Keystone SERDES IP is integrated with PCIe, 1GBE and 10GBE IPs in the
SoC. This patch adds dt bindings for phy-keystone-serdes Phy device
which is implemented using the generic phy interface with each lane
corresponding to a phy device.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Keystone SERDES IP is integrated with PCIe, 1GBE and 10GBE IPs in the
SoC. This patch adds dt bindings for phy-keystone-serdes Phy device
which is implemented using the generic phy interface with each lane
corresponding to a phy device.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: netcp: fix error in link status display
When ethernet phy presents, the ethernet link status is
determined by the combined statuses of the phy link and
the sgmii link. That is, ethernet link is down if either
status is down, and ethernet link is up if both statuses
are up.
Prior to this patch, when ethernet link state changes,
the phy link status is displayed, regardless whether the
combined status is up or down. However, when the ethernet
link goes down, due a race condition, the phy link state
may not yet correctly reflect the down state while the
sgmii link state does. Thus blindly displaying the phy
link state is incorrect when the ethernet link goes down.
This patch fixes the problem by displaying the combined
state when ethernet link goes down and if phy is present.
When ethernet link goes up, the phy link state is displayed
if phy is present. When phy is absent, the sgmii link
status is displayed in any link state change.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
When ethernet phy presents, the ethernet link status is
determined by the combined statuses of the phy link and
the sgmii link. That is, ethernet link is down if either
status is down, and ethernet link is up if both statuses
are up.
Prior to this patch, when ethernet link state changes,
the phy link status is displayed, regardless whether the
combined status is up or down. However, when the ethernet
link goes down, due a race condition, the phy link state
may not yet correctly reflect the down state while the
sgmii link state does. Thus blindly displaying the phy
link state is incorrect when the ethernet link goes down.
This patch fixes the problem by displaying the combined
state when ethernet link goes down and if phy is present.
When ethernet link goes up, the phy link state is displayed
if phy is present. When phy is absent, the sgmii link
status is displayed in any link state change.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: netcp: ethss: add support of 10gbe pcsr link status
The 10GBASE-R Physical Coding Sublayer (PCS-R) module provides
functionality of a physical coding sublayer (PCS) on data being
transferred between a demuxed XGMII and SerDes supporting a 16
or 32 bit interface. From the driver point of view, whether
a ethernet link is up or not depends also on the status of the
block-lock bit of the PCSR. This patch adds the checking of that
bit in order to determine the link status. syscon-pcsr
phandle is used for reading the status from the phy driver.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
The 10GBASE-R Physical Coding Sublayer (PCS-R) module provides
functionality of a physical coding sublayer (PCS) on data being
transferred between a demuxed XGMII and SerDes supporting a 16
or 32 bit interface. From the driver point of view, whether
a ethernet link is up or not depends also on the status of the
block-lock bit of the PCSR. This patch adds the checking of that
bit in order to determine the link status. syscon-pcsr
phandle is used for reading the status from the phy driver.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
dt-bindings: net: keystone-netcp: use syscon for pcs-r module region access
The 10GBASE-R Physical Coding Sublayer (PCS-R) module provides
functionality of a physical coding sublayer (PCS) on data being
transferred between a demuxed XGMII and SerDes supporting a 16
or 32 bit interface. From the driver point of view, whether
a ethernet link is up or not depends also on the status of the
block-lock bit of the PCSR. This requires access to the pcsr
register from both ethss and phy driver. This is done through
a syscon-pcsr phandle and this patch documents the required binding
information.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
The 10GBASE-R Physical Coding Sublayer (PCS-R) module provides
functionality of a physical coding sublayer (PCS) on data being
transferred between a demuxed XGMII and SerDes supporting a 16
or 32 bit interface. From the driver point of view, whether
a ethernet link is up or not depends also on the status of the
block-lock bit of the PCSR. This requires access to the pcsr
register from both ethss and phy driver. This is done through
a syscon-pcsr phandle and this patch documents the required binding
information.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
ARM: dts: add gbe syscon subsys dt node for netcp
This patch adds the syscon subsystem dt node for gbe. This allows
shared access to the switch subsystem register region of the gbe
switch.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This patch adds the syscon subsystem dt node for gbe. This allows
shared access to the switch subsystem register region of the gbe
switch.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: netcp: ethss: add support of subsystem register region regmap
10gbe phy driver needs to access the 10gbe subsystem control
register during phy initialization. To facilitate the shared
access of the subsystem register region between the 10gbe Ethernet
driver and the phy driver, this patch adds support of the
subsystem register region defined by a syscon node in the dts.
Although there is no shared access to the gbe subsystem register
region, using syscon for that is for the sake of consistency.
This change is backward compatible with previously released gbe
devicetree bindings.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
10gbe phy driver needs to access the 10gbe subsystem control
register during phy initialization. To facilitate the shared
access of the subsystem register region between the 10gbe Ethernet
driver and the phy driver, this patch adds support of the
subsystem register region defined by a syscon node in the dts.
Although there is no shared access to the gbe subsystem register
region, using syscon for that is for the sake of consistency.
This change is backward compatible with previously released gbe
devicetree bindings.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
dt-bindings: net: keystone-netcp: use syscon for netcp subsystem control access
10gbe phy driver needs to access the 10gbe subsystem control
register during phy initialization. To facilitate the shared
access of the subsystem register region between the 10gbe Ethernet
driver and the phy driver, this patch adds documentation for
the syscon node to provide shared access to the subsystem control
region
This change is backward compatible with previously released gbe
devicetree bindings.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
10gbe phy driver needs to access the 10gbe subsystem control
register during phy initialization. To facilitate the shared
access of the subsystem register region between the 10gbe Ethernet
driver and the phy driver, this patch adds documentation for
the syscon node to provide shared access to the subsystem control
region
This change is backward compatible with previously released gbe
devicetree bindings.
Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
5 years agoMerge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into... ti-rt-linux-4.14.y-next-20190216 ti-rt-linux-4.14.y-next-20190217 ti-rt-linux-4.14.y-next-20190218 ti-rt-linux-4.14.y-next-20190219 ti-rt-linux-4.19.y-next-20190216 ti-rt-linux-4.19.y-next-20190217 ti-rt-linux-4.19.y-next-20190218 ti-rt-linux-4.19.y-next-20190219
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
dmaengine: ti: k3-navss-udma: Add missing MODULE_ definitions
crypto: sa2ul: Intialize variables and fix build warning
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
dmaengine: ti: k3-navss-udma: Add missing MODULE_ definitions
crypto: sa2ul: Intialize variables and fix build warning
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree into ti-linux-4.19.y
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
dmaengine: ti: k3-navss-udma: Add missing MODULE_ definitions
crypto: sa2ul: Intialize variables and fix build warning
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
dmaengine: ti: k3-navss-udma: Add missing MODULE_ definitions
crypto: sa2ul: Intialize variables and fix build warning
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
dmaengine: ti: k3-navss-udma: Add missing MODULE_ definitions
Fixes:
WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/ti/k3-navss-udma.o
see include/linux/module.h for more information
Reported-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Fixes:
WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/ti/k3-navss-udma.o
see include/linux/module.h for more information
Reported-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
crypto: sa2ul: Intialize variables and fix build warning
drivers/crypto/sa2ul.c: In function ‘sa_init_sc’:
drivers/crypto/sa2ul.c:622:21: warning: ‘auth_sc_offset’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
int enc_sc_offset, auth_sc_offset;
Fix the above build warning.
Reported-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
drivers/crypto/sa2ul.c: In function ‘sa_init_sc’:
drivers/crypto/sa2ul.c:622:21: warning: ‘auth_sc_offset’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
int enc_sc_offset, auth_sc_offset;
Fix the above build warning.
Reported-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
5 years agoMerge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into... 20190214_1641 ti-rt-linux-4.14.y-next-20190214 ti-rt-linux-4.14.y-next-20190215 ti-rt-linux-4.19.y-next-20190214 ti-rt-linux-4.19.y-next-20190215
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments: enable DRM legacy mode
ARM64: dts: am654x-base-board: enable SGX node
ARM64: dts: AM654: add device tree entry for SGX
ARM: OMAP2+: Use pdata-quirks for sgx deassert hardreset
ARM: dts: am335x: enable SGX node
ARM: dts: am33xx: add device tree entry for SGX
ARM: dts: am43x-epos-evm: enable DT node for gpu
ARM: dts: am437x: enable SGX node
ARM: dts: am437x: add device tree entry for SGX
ARM: dts: AM57x: enable SGX node
ARM: dts: DRA7xx: enable SGX node
ARM: dts: DRA7xx: add device tree entry for SGX
ARM: DRA7: Add gpu hwmod data
dt-bindings: gpu: add binding for TI SGX driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments: enable DRM legacy mode
ARM64: dts: am654x-base-board: enable SGX node
ARM64: dts: AM654: add device tree entry for SGX
ARM: OMAP2+: Use pdata-quirks for sgx deassert hardreset
ARM: dts: am335x: enable SGX node
ARM: dts: am33xx: add device tree entry for SGX
ARM: dts: am43x-epos-evm: enable DT node for gpu
ARM: dts: am437x: enable SGX node
ARM: dts: am437x: add device tree entry for SGX
ARM: dts: AM57x: enable SGX node
ARM: dts: DRA7xx: enable SGX node
ARM: dts: DRA7xx: add device tree entry for SGX
ARM: DRA7: Add gpu hwmod data
dt-bindings: gpu: add binding for TI SGX driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'graphics-ti-linux-4.19.y' of git://git.ti.com/graphics/graphics-kernel-feature-tree into ti-linux-4.19.y
TI-Feature: graphics
TI-Tree: git://git.ti.com/graphics/graphics-kernel-feature-tree.git
TI-Branch: graphics-ti-linux-4.19.y
* 'graphics-ti-linux-4.19.y' of git://git.ti.com/graphics/graphics-kernel-feature-tree:
ti_config_fragments: enable DRM legacy mode
ARM64: dts: am654x-base-board: enable SGX node
ARM64: dts: AM654: add device tree entry for SGX
ARM: OMAP2+: Use pdata-quirks for sgx deassert hardreset
ARM: dts: am335x: enable SGX node
ARM: dts: am33xx: add device tree entry for SGX
ARM: dts: am43x-epos-evm: enable DT node for gpu
ARM: dts: am437x: enable SGX node
ARM: dts: am437x: add device tree entry for SGX
ARM: dts: AM57x: enable SGX node
ARM: dts: DRA7xx: enable SGX node
ARM: dts: DRA7xx: add device tree entry for SGX
ARM: DRA7: Add gpu hwmod data
dt-bindings: gpu: add binding for TI SGX driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: graphics
TI-Tree: git://git.ti.com/graphics/graphics-kernel-feature-tree.git
TI-Branch: graphics-ti-linux-4.19.y
* 'graphics-ti-linux-4.19.y' of git://git.ti.com/graphics/graphics-kernel-feature-tree:
ti_config_fragments: enable DRM legacy mode
ARM64: dts: am654x-base-board: enable SGX node
ARM64: dts: AM654: add device tree entry for SGX
ARM: OMAP2+: Use pdata-quirks for sgx deassert hardreset
ARM: dts: am335x: enable SGX node
ARM: dts: am33xx: add device tree entry for SGX
ARM: dts: am43x-epos-evm: enable DT node for gpu
ARM: dts: am437x: enable SGX node
ARM: dts: am437x: add device tree entry for SGX
ARM: dts: AM57x: enable SGX node
ARM: dts: DRA7xx: enable SGX node
ARM: dts: DRA7xx: add device tree entry for SGX
ARM: DRA7: Add gpu hwmod data
dt-bindings: gpu: add binding for TI SGX driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
ti_config_fragments: enable DRM legacy mode
GPU driver needs DRM legacy mmap APIs. Enable DRM legacy and VM config
options but do not include any legacy drivers.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
GPU driver needs DRM legacy mmap APIs. Enable DRM legacy and VM config
options but do not include any legacy drivers.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM64: dts: am654x-base-board: enable SGX node
SGX Graphics Processing Unit node is enabled for am654x base board.
SGX device node properties are inherited from base am654x dtsi file.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX Graphics Processing Unit node is enabled for am654x base board.
SGX device node properties are inherited from base am654x dtsi file.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM64: dts: AM654: add device tree entry for SGX
Addition of SGX to AM654 base dtsi for graphics support
Note: The SGX is disabled by default because it may be an optional module
and only some AM654 variants contain this module. The status should be
overwritten as "okay" at the corresponding board dts.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Addition of SGX to AM654 base dtsi for graphics support
Note: The SGX is disabled by default because it may be an optional module
and only some AM654 variants contain this module. The status should be
overwritten as "okay" at the corresponding board dts.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: OMAP2+: Use pdata-quirks for sgx deassert hardreset
Use pdata_quirks to provide platform data to the sgx driver. This is
used to provide a function pointer for the sgx driver to access
omap_device_deassert_hardreset along with the reset name as defined in
the corresponding hwmod entry
This platform data will not be required when a separate reset driver is
available allowing decoupling from omap hwmod and omap device
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Use pdata_quirks to provide platform data to the sgx driver. This is
used to provide a function pointer for the sgx driver to access
omap_device_deassert_hardreset along with the reset name as defined in
the corresponding hwmod entry
This platform data will not be required when a separate reset driver is
available allowing decoupling from omap hwmod and omap device
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: am335x: enable SGX node
SGX Graphics Processing Unit node is enabled for AM335x EVM family.
SGX device node properties are inherited from base am33xx dtsi file.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX Graphics Processing Unit node is enabled for AM335x EVM family.
SGX device node properties are inherited from base am33xx dtsi file.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: am33xx: add device tree entry for SGX
SGX device entry is added to base am33xx dtsi file.
Note: The SGX is disabled by default because it is an optional module
and only some AM335x variants contain this module, such as AM3358 and
AM3357. The status should be overwritten as "OK" at the corresponding
board.dts
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX device entry is added to base am33xx dtsi file.
Note: The SGX is disabled by default because it is an optional module
and only some AM335x variants contain this module, such as AM3358 and
AM3357. The status should be overwritten as "OK" at the corresponding
board.dts
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: am43x-epos-evm: enable DT node for gpu
SGX GPU is available on AM43x EPOS EVM. Enable DT node for SGX.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX GPU is available on AM43x EPOS EVM. Enable DT node for SGX.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: am437x: enable SGX node
SGX Graphics Processing Unit node is enabled for AM437x EVM family.
SGX device node properties are inherited from base am437x dtsi file.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX Graphics Processing Unit node is enabled for AM437x EVM family.
SGX device node properties are inherited from base am437x dtsi file.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: am437x: add device tree entry for SGX
SGX device entry is added to base am437x dtsi file
Note: The SGX is disabled by default because it is an optional module
and only some AM437x variants contain this module, such as AM4378 and
AM4379. The status should be overwritten as "OK" at the corresponding
board.dts.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX device entry is added to base am437x dtsi file
Note: The SGX is disabled by default because it is an optional module
and only some AM437x variants contain this module, such as AM4378 and
AM4379. The status should be overwritten as "OK" at the corresponding
board.dts.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: AM57x: enable SGX node
SGX Graphics Processing Unit node is enabled for AM57x based Beagle-X15 and IDK
platforms. SGX device node properties are inherited from base dra7 dtsi file.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX Graphics Processing Unit node is enabled for AM57x based Beagle-X15 and IDK
platforms. SGX device node properties are inherited from base dra7 dtsi file.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: DRA7xx: enable SGX node
SGX Graphics Processing Unit node is enabled for DRA7xx and DRA72x EVM
family. SGX device node properties are inherited from base dra7 dtsi file.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX Graphics Processing Unit node is enabled for DRA7xx and DRA72x EVM
family. SGX device node properties are inherited from base dra7 dtsi file.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: dts: DRA7xx: add device tree entry for SGX
SGX device entry is added to base dra7 dtsi file.
Note: The SGX is disabled by default because it is an optional module
and only some DRA7xx variants contain this module, such as AM57xx.
The status should be overwritten as "OK" at the corresponding board.dts.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
SGX device entry is added to base dra7 dtsi file.
Note: The SGX is disabled by default because it is an optional module
and only some DRA7xx variants contain this module, such as AM57xx.
The status should be overwritten as "OK" at the corresponding board.dts.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
ARM: DRA7: Add gpu hwmod data
GPU hwmod data for DRA7xx
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
GPU hwmod data for DRA7xx
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
dt-bindings: gpu: add binding for TI SGX driver
This patch adds the devicetree binding for Imagination PowerVR SGX Graphics
Processing Unit integrated in Texas Instrument SoCs.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
This patch adds the devicetree binding for Imagination PowerVR SGX Graphics
Processing Unit integrated in Texas Instrument SoCs.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
5 years agoMerge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into... ti-rt-linux-4.14.y-next-20190212 ti-rt-linux-4.14.y-next-20190213 ti-rt-linux-4.19.y-next-20190212 ti-rt-linux-4.19.y-next-20190213
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
drm/tidss: fix crash when display does not provide bus_formats
drm/tidss: use drm_fbdev_generic_setup
drm/tidss: dispc7: Remove unneeded semicolon from c8_to_c12()
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
drm/tidss: fix crash when display does not provide bus_formats
drm/tidss: use drm_fbdev_generic_setup
drm/tidss: dispc7: Remove unneeded semicolon from c8_to_c12()
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree into ti-linux-4.19.y
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree:
drm/tidss: fix crash when display does not provide bus_formats
drm/tidss: use drm_fbdev_generic_setup
drm/tidss: dispc7: Remove unneeded semicolon from c8_to_c12()
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree:
drm/tidss: fix crash when display does not provide bus_formats
drm/tidss: use drm_fbdev_generic_setup
drm/tidss: dispc7: Remove unneeded semicolon from c8_to_c12()
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
net: ethernet: ti: am65-cpsw-nuss: fix checksum offload for IPv4
net: ethernet: ti: am65-cpsw-nuss: fix dma mask
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
net: ethernet: ti: am65-cpsw-nuss: fix checksum offload for IPv4
net: ethernet: ti: am65-cpsw-nuss: fix dma mask
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
drm/tidss: fix crash when display does not provide bus_formats
The driver crashes if the bridge/panel does not provide bus_formats.
Fix by failing the encoder's atomic check in this case.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
The driver crashes if the bridge/panel does not provide bus_formats.
Fix by failing the encoder's atomic check in this case.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drm/tidss: use drm_fbdev_generic_setup
The driver crashes when calling drm_fbdev_cma_fini(), and the reason
seems to be that drm_dev_unregister() already releases the fbdev, or
parts of it. The exact problem is unclear.
The DRM framework has a new way to setup the fbdev, by calling
drm_fbdev_generic_setup. This is used in the mainline, e.g.
2f690fad237adea1bdce8ed9026cbf43cd9d8c46 ("drm/rcar-du: Use
drm_fbdev_generic_setup()").
This patch does a similar change to tidss, which also seems to get rid
of the crash problem.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
The driver crashes when calling drm_fbdev_cma_fini(), and the reason
seems to be that drm_dev_unregister() already releases the fbdev, or
parts of it. The exact problem is unclear.
The DRM framework has a new way to setup the fbdev, by calling
drm_fbdev_generic_setup. This is used in the mainline, e.g.
2f690fad237adea1bdce8ed9026cbf43cd9d8c46 ("drm/rcar-du: Use
drm_fbdev_generic_setup()").
This patch does a similar change to tidss, which also seems to get rid
of the crash problem.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drm/tidss: dispc7: Remove unneeded semicolon from c8_to_c12()
Remove unneeded semicolon from switch-case statement in c8_to_c12().
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Remove unneeded semicolon from switch-case statement in c8_to_c12().
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Merge branch 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel into ti-linux-4.19.y
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
net: ethernet: ti: am65-cpsw-nuss: fix checksum offload for IPv4
net: ethernet: ti: am65-cpsw-nuss: fix dma mask
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
net: ethernet: ti: am65-cpsw-nuss: fix checksum offload for IPv4
net: ethernet: ti: am65-cpsw-nuss: fix dma mask
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
5 years agoMerge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into... ti-rt-linux-4.14.y-next-20190211 ti-rt-linux-4.19.y-next-20190211
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
crypto: omap-sham: split up data to multiple sg elements with huge data
firmware: ti_sci: allow frequency change for disabled clocks by default
.gitignore: Add .dtbo and .itb files to top level list
ti_config_fragments: v8_baseport: Enable RAMDISK
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
crypto: omap-sham: split up data to multiple sg elements with huge data
firmware: ti_sci: allow frequency change for disabled clocks by default
.gitignore: Add .dtbo and .itb files to top level list
ti_config_fragments: v8_baseport: Enable RAMDISK
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree into ti-linux-4.19.y
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
crypto: omap-sham: split up data to multiple sg elements with huge data
firmware: ti_sci: allow frequency change for disabled clocks by default
.gitignore: Add .dtbo and .itb files to top level list
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
crypto: omap-sham: split up data to multiple sg elements with huge data
firmware: ti_sci: allow frequency change for disabled clocks by default
.gitignore: Add .dtbo and .itb files to top level list
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
net: ethernet: ti: am65-cpsw-nuss: fix checksum offload for IPv4
Due to a typo receive checksum offload for IPv4 is effectively
ignored. Fix it.
Also, per TRM, CHECKSUM_ERROR bit makes sense only when IPV6 and
IPV4 are valid. Flip the if() check to reflect the same order.
This makes it easier to match code with TRM.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Due to a typo receive checksum offload for IPv4 is effectively
ignored. Fix it.
Also, per TRM, CHECKSUM_ERROR bit makes sense only when IPV6 and
IPV4 are valid. Flip the if() check to reflect the same order.
This makes it easier to match code with TRM.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
net: ethernet: ti: am65-cpsw-nuss: fix dma mask
CPSW DMA (using UDMA) on AM65x can access full
48 bits of physical address space available on
AM65x platform.
Not setting the DMA mask correctly unnecessarily
forces use of SWIOTLB for allocations above 32-bit
boundary causing performance loss.
Using bi-directional iperf TCP test, performance
measured went up from ~720 Mbits/s to ~1210 Mbits/s
(68% jump).
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
CPSW DMA (using UDMA) on AM65x can access full
48 bits of physical address space available on
AM65x platform.
Not setting the DMA mask correctly unnecessarily
forces use of SWIOTLB for allocations above 32-bit
boundary causing performance loss.
Using bi-directional iperf TCP test, performance
measured went up from ~720 Mbits/s to ~1210 Mbits/s
(68% jump).
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
crypto: omap-sham: split up data to multiple sg elements with huge data
When using huge data amount, allocating free pages fails as the kernel
isn't able to process get_free_page requests larger than MAX_ORDER.
Also, the DMA subsystem has an inherent limitation that data size
larger than some 2MB can't be handled properly. In these cases,
split up the data instead to smaller requests so that the kernel
can allocate the data, and also so that the DMA driver can handle
the separate SG elements.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Bin Liu <b-liu@ti.com>
When using huge data amount, allocating free pages fails as the kernel
isn't able to process get_free_page requests larger than MAX_ORDER.
Also, the DMA subsystem has an inherent limitation that data size
larger than some 2MB can't be handled properly. In these cases,
split up the data instead to smaller requests so that the kernel
can allocate the data, and also so that the DMA driver can handle
the separate SG elements.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Bin Liu <b-liu@ti.com>
firmware: ti_sci: allow frequency change for disabled clocks by default
If a clock is disabled, its frequency should be allowed to change as
it is no longer in use. Add a flag towards this to the firmware clock
API handler routines.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
If a clock is disabled, its frequency should be allowed to change as
it is no longer in use. Add a flag towards this to the firmware clock
API handler routines.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
.gitignore: Add .dtbo and .itb files to top level list
Compiled overlay related blobs shouldn't be committed in the kernel
tree, so ignore these for git.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Compiled overlay related blobs shouldn't be committed in the kernel
tree, so ignore these for git.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Merge branch 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree into ti-linux-4.19.y
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
ti_config_fragments: v8_baseport: Enable RAMDISK
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
ti_config_fragments: v8_baseport: Enable RAMDISK
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments: rpmsg: Enable rpmsg-rpc driver
ti_config_fragments: rpmsg: Enable OMAP remoteproc support
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments: rpmsg: Enable rpmsg-rpc driver
ti_config_fragments: rpmsg: Enable OMAP remoteproc support
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'rpmsg-ti-linux-4.19.y-intg' of git://git.ti.com/rpmsg/rpmsg into ti-linux-4.19.y
TI-Feature: rpmsg
TI-Tree: git://git.ti.com/rpmsg/rpmsg.git
TI-Branch: rpmsg-ti-linux-4.19.y-intg
* 'rpmsg-ti-linux-4.19.y-intg' of git://git.ti.com/rpmsg/rpmsg:
ti_config_fragments: rpmsg: Enable rpmsg-rpc driver
ti_config_fragments: rpmsg: Enable OMAP remoteproc support
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: rpmsg
TI-Tree: git://git.ti.com/rpmsg/rpmsg.git
TI-Branch: rpmsg-ti-linux-4.19.y-intg
* 'rpmsg-ti-linux-4.19.y-intg' of git://git.ti.com/rpmsg/rpmsg:
ti_config_fragments: rpmsg: Enable rpmsg-rpc driver
ti_config_fragments: rpmsg: Enable OMAP remoteproc support
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'rpmsg-ti-linux-4.19.y' of git://git.ti.com/rpmsg/rpmsg into rpmsg-ti-linux-4.19.y-intg
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
ti_config_fragments: rpmsg: Enable rpmsg-rpc driver
Add support to build the RPMsg bus/client driver rpmsg-rpc to
enable the MultiMedia hardware accelerated stack on DRA7xx/AM57xx
SoCs. The driver is currently supported only for OMAP remoteprocs
and depends on the OMAP remoteproc driver being enabled.
Signed-off-by: Suman Anna <s-anna@ti.com>
Add support to build the RPMsg bus/client driver rpmsg-rpc to
enable the MultiMedia hardware accelerated stack on DRA7xx/AM57xx
SoCs. The driver is currently supported only for OMAP remoteprocs
and depends on the OMAP remoteproc driver being enabled.
Signed-off-by: Suman Anna <s-anna@ti.com>
ti_config_fragments: rpmsg: Enable OMAP remoteproc support
Add support to build the OMAP remoteproc driver and the dependent
OMAP IOMMU driver. The other dependent OMAP Mailbox driver is
automatically selected by the OMAP remoteproc driver and is also
already enabled in the current config fragment. This driver is
required for remote processor messaging with the IPU and DSP
remoteprocs on various OMAP4+ SoCs.
OMAP Mailbox and OMAP IOMMU are chosen to be built-in, while the
OMAP remoteproc driver is chosen to be built as a module. The IOMMU
debugfs configuration option is also also enabled by default.
Signed-off-by: Suman Anna <s-anna@ti.com>
Add support to build the OMAP remoteproc driver and the dependent
OMAP IOMMU driver. The other dependent OMAP Mailbox driver is
automatically selected by the OMAP remoteproc driver and is also
already enabled in the current config fragment. This driver is
required for remote processor messaging with the IPU and DSP
remoteprocs on various OMAP4+ SoCs.
OMAP Mailbox and OMAP IOMMU are chosen to be built-in, while the
OMAP remoteproc driver is chosen to be built as a module. The IOMMU
debugfs configuration option is also also enabled by default.
Signed-off-by: Suman Anna <s-anna@ti.com>
Merge branch 'rpmsg-linux-4.19.y' of git://git.ti.com/rpmsg/rpmsg into rpmsg-ti-linux-4.19.y
Pull in the base rpmsg tree that adds a new rpmsg client driver,
rpmsg-rpc which is used by the TI MultiMedia stack to achieve
hardware acceleration on OMAP4+ family of SoCs.
* 'rpmsg-linux-4.19.y' of git://git.ti.com/rpmsg/rpmsg:
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: Suman Anna <s-anna@ti.com>
Pull in the base rpmsg tree that adds a new rpmsg client driver,
rpmsg-rpc which is used by the TI MultiMedia stack to achieve
hardware acceleration on OMAP4+ family of SoCs.
* 'rpmsg-linux-4.19.y' of git://git.ti.com/rpmsg/rpmsg:
rpmsg: rpc: introduce a new rpmsg_rpc driver
Signed-off-by: Suman Anna <s-anna@ti.com>
ti_config_fragments: v8_baseport: Enable RAMDISK
Enable CONFIG_BLK_DEV_RAM for Ramdisk support.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Enable CONFIG_BLK_DEV_RAM for Ramdisk support.
Signed-off-by: Roger Quadros <rogerq@ti.com>
rpmsg: rpc: introduce a new rpmsg_rpc driver
The new rpmsg client driver, rpmsg_rpc, is introduced to provide a
framework for userspace applications to execute functions on different
remote processors.
The functions themselves are published by the remote processors by
different libraries. Each set of functions are published and supported
by a corresponding rpmsg server channel, and is exposed to the user-space
as its own device. User-space applications can open this character device,
and execute any of the published functions associated with the device.
The rpmsg-rpc driver allows any function upto 10 arguments with in-built
pointer translation. The kernel-userspace interaction allows any buffer
pointers to be replaced in the marshalled packet, provided the buffers
are obtained from allocators backed by dma_buf framework.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Erik Rainey <erik.rainey@ti.com>
The new rpmsg client driver, rpmsg_rpc, is introduced to provide a
framework for userspace applications to execute functions on different
remote processors.
The functions themselves are published by the remote processors by
different libraries. Each set of functions are published and supported
by a corresponding rpmsg server channel, and is exposed to the user-space
as its own device. User-space applications can open this character device,
and execute any of the published functions associated with the device.
The rpmsg-rpc driver allows any function upto 10 arguments with in-built
pointer translation. The kernel-userspace interaction allows any buffer
pointers to be replaced in the marshalled packet, provided the buffers
are obtained from allocators backed by dma_buf framework.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Erik Rainey <erik.rainey@ti.com>
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree into ti-linux-4.19.y
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'ti/4.19-pull' of https://bitbucket.itg.ti.com/scm/~a0400822/linux into audio_display-ti-linux-4.19.y
2019.00 omapdrm stuff
* 'ti/4.19-pull' of https://bitbucket.itg.ti.com/scm/~a0400822/linux: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
2019.00 omapdrm stuff
* 'ti/4.19-pull' of https://bitbucket.itg.ti.com/scm/~a0400822/linux: (22 commits)
ARM: dts: am4372: Set memory bandwidth limit for DISPC
HACK: drm/omap: flush the mapped page in kmap/kunmap
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
drm/omap: add OMAP_BO flags to affect buffer allocation
drm/omap: add omap_gem_validate_flags()
drm/omap: cleanup OMAP_BO_SCANOUT use
drm/omap: cleanup OMAP_BO flags
drm/omap: remove OMAP_BO_TILED define
drm/omap: accept NULL for dma_addr in omap_gem_pin
drm/omap: add omap_gem_unpin_locked()
drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes
drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
drm/omap: fix missing scaler pixel fmt limitations
drm/omap: tweak HDMI DDC timings
drm/bridge: tc358767: add GPIO & interrupt registers
drm/bridge: tc358767: use DP connector if no panel set
drm/bridge: tc358767: fix output H/V syncs
drm/bridge: tc358767: reject modes which require too much BW
drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
drm/bridge: tc358767: fix single lane configuration
...
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree into ti-linux-4.19.y
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: audio-display
TI-Tree: git@git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree.git
TI-Branch: audio_display-ti-linux-4.19.y
* 'audio_display-ti-linux-4.19.y' of git.ti.com:~jyrisarha/ti-linux-kernel/jyrisarhas-audio-video-linux-feature-tree: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'for19.00.02' of git.ti.com:~bparrot/ti-linux-kernel/bp-ti-linux into audio_display-ti-linux-4.19.y
2019LTS Capture #2
* 'for19.00.02' of git.ti.com:~bparrot/ti-linux-kernel/bp-ti-linux: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
2019LTS Capture #2
* 'for19.00.02' of git.ti.com:~bparrot/ti-linux-kernel/bp-ti-linux: (21 commits)
media: ti-vpe: vip: remove leftover __maybe_unused
ARM: dts: dra76-evm: remove status from vip port nodes
ARM: dts: dra72-evm-common: remove status from vip port nodes
ARM: dts: dra7-evm: remove status from vip port nodes
ARM: dts: am572x-idk-common: remove status from vip port nodes
ARM: dts: am571x-idk: remove status from vip port nodes
ARM: dts: ov10635: remove status from vip port nodes
ARM: dts: mt9t111: remove status from vip port nodes
media: ti-vpe: vip: fix DT port endpoint scanning
ARM: dts: dra7: remove status from vip port nodes
ARM: dts: dra7: group vip port nodes
ARM: dts: dra76-evm: fix non bidirectional warning
ARM: dts: dra72-evm-common: fix non bidirectional warning
ARM: dts: dra7-evm: fix non bidirectional warning
ARM: dts: am572x-idk-common: fix non bidirectional warning
ARM: dts: am571x-idk: fix non bidirectional warning
ARM: dts: ov10635: fix non bidirectional warning
ARM: dts: mt9t111: fix non bidirectional warning
media: i2c: mt9t11x: Fix unused return variable
media: i2c: mt9t11x: Remove driver owner
...
media: ti-vpe: vip: remove leftover __maybe_unused
Remove leftover __maybe_unused markup used during development/debugging.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Remove leftover __maybe_unused markup used during development/debugging.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra76-evm: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra72-evm-common: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra7-evm: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: am572x-idk-common: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: am571x-idk: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: ov10635: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: mt9t111: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
media: ti-vpe: vip: fix DT port endpoint scanning
The existing DT parsing mechanism only handles stand-alone port nodes.
However the specs allow for all port nodes to be grouped under a "ports"
node. In order to handle with the ports{} grouping we should use
existing fwnode helper function instead of having private DT parsing
code.
To detect used/unused port we previously used a local status properties
inside each port node. Using the framework endpoint scanning helper
function this is no longer needed.
This simplify somewhat the DT parsing section of the driver. With this
modification we now scan ports sequentially attempting to bind to the
first endpoint.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
The existing DT parsing mechanism only handles stand-alone port nodes.
However the specs allow for all port nodes to be grouped under a "ports"
node. In order to handle with the ports{} grouping we should use
existing fwnode helper function instead of having private DT parsing
code.
To detect used/unused port we previously used a local status properties
inside each port node. Using the framework endpoint scanning helper
function this is no longer needed.
This simplify somewhat the DT parsing section of the driver. With this
modification we now scan ports sequentially attempting to bind to the
first endpoint.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ARM: dts: dra7: remove status from vip port nodes
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
The status property is not needed at the VIP port level, as the enpoint
presence or absence will dictate if a port is available or not.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra7: group vip port nodes
Port nodes should be group together using a ports {} structure.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Port nodes should be group together using a ports {} structure.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra76-evm: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra76-evm.dtb: Warning (graph_endpoint):
/ocp/vip@0x48970000/port@1/endpoint@0: graph connection to node
'/ocp/i2c@4807c000/ov10633@37/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra76-evm.dtb: Warning (graph_endpoint):
/ocp/vip@0x48970000/port@1/endpoint@0: graph connection to node
'/ocp/i2c@4807c000/ov10633@37/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra72-evm-common: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra72-evm.dtb: Warning (graph_endpoint):
/ocp/i2c@4807c000/ov10633@37/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@1' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra72-evm.dtb: Warning (graph_endpoint):
/ocp/i2c@4807c000/ov10633@37/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@1' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: dra7-evm: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra7-evm.dtb: Warning (graph_endpoint):
/ocp/i2c@48072000/ov10633@37/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@0' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/dra7-evm.dtb: Warning (graph_endpoint):
/ocp/i2c@48072000/ov10633@37/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@0' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: am572x-idk-common: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/am572x-idk.dtb: Warning (graph_endpoint):
/ocp/vip@0x48990000/port@3/endpoint@3: graph connection to node
'/ocp/i2c@48070000/ov2659@30/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/am572x-idk.dtb: Warning (graph_endpoint):
/ocp/vip@0x48990000/port@3/endpoint@3: graph connection to node
'/ocp/i2c@48070000/ov2659@30/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: am571x-idk: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/am571x-idk.dtb: Warning (graph_endpoint):
/ocp/i2c@48070000/ov2659@30/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@2' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/am571x-idk.dtb: Warning (graph_endpoint):
/ocp/i2c@48070000/ov2659@30/port/endpoint: graph connection to node
'/ocp/vip@0x48970000/port@2' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: ov10635: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/ti/ov10635.dtbo: Warning (graph_endpoint):
/fragment@1/__overlay__/endpoint: graph connection to node
'/fragment@0/__overlay__/ov10635@30/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/ti/ov10635.dtbo: Warning (graph_endpoint):
/fragment@1/__overlay__/endpoint: graph connection to node
'/fragment@0/__overlay__/ov10635@30/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
ARM: dts: mt9t111: fix non bidirectional warning
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/ti/mt9t111.dtbo: Warning (graph_endpoint):
/fragment@1/__overlay__/endpoint: graph connection to node
'/fragment@0/__overlay__/mt9t11x@3C/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
When building VIP related DTS, DTC will generates warnings similar to
this one:
arch/arm/boot/dts/ti/mt9t111.dtbo: Warning (graph_endpoint):
/fragment@1/__overlay__/endpoint: graph connection to node
'/fragment@0/__overlay__/mt9t11x@3C/port/endpoint' is not bidirectional
In order to fix this we need to assign the remote-endpoint linkage to
the actual endpoint node and not the parent port node.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
media: i2c: mt9t11x: Fix unused return variable
drivers/media/i2c/mt9t11x.c:864:5-8: Unneeded variable: "ret". Return
"0" on line 872
Remove unneeded variable used to store return value.
Generated by: scripts/coccinelle/misc/returnvar.cocci
The actual fix though is to properly propagate the return value to the
caller.
Fixes: 0cc74f4fcf2b ("media: i2c: Add Aptina mt9t11x sensor driver")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
drivers/media/i2c/mt9t11x.c:864:5-8: Unneeded variable: "ret". Return
"0" on line 872
Remove unneeded variable used to store return value.
Generated by: scripts/coccinelle/misc/returnvar.cocci
The actual fix though is to properly propagate the return value to the
caller.
Fixes: 0cc74f4fcf2b ("media: i2c: Add Aptina mt9t11x sensor driver")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
media: i2c: mt9t11x: Remove driver owner
drivers/media/i2c/mt9t11x.c:2278:3-8: No need to set .owner here. The
core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes: 0cc74f4fcf2b ("media: i2c: Add Aptina mt9t11x sensor driver")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
drivers/media/i2c/mt9t11x.c:2278:3-8: No need to set .owner here. The
core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes: 0cc74f4fcf2b ("media: i2c: Add Aptina mt9t11x sensor driver")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
media: ti-vpe: vpe: Fix support for SEQ_BT
This fixes a cut and paste mistake resulting in a duplicated
conditional statement.
Fixes: 6e187592dfdc ("media: ti-vpe: Add support for SEQ_BT")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
This fixes a cut and paste mistake resulting in a duplicated
conditional statement.
Fixes: 6e187592dfdc ("media: ti-vpe: Add support for SEQ_BT")
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
dmaengine: ti: k3-udma: Remove hack for sysfw reserved channels/flows
clk: ti: dra7x: prevent non-existing clkctrl clocks from registering
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
dmaengine: ti: k3-udma: Remove hack for sysfw reserved channels/flows
clk: ti: dra7x: prevent non-existing clkctrl clocks from registering
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree into ti-linux-4.19.y
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
dmaengine: ti: k3-udma: Remove hack for sysfw reserved channels/flows
clk: ti: dra7x: prevent non-existing clkctrl clocks from registering
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: platform_base
TI-Tree: git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree.git
TI-Branch: platform-ti-linux-4.19.y
* 'platform-ti-linux-4.19.y' of git://git.ti.com/~rrnayak/ti-linux-kernel/platform-linux-feature-tree:
dmaengine: ti: k3-udma: Remove hack for sysfw reserved channels/flows
clk: ti: dra7x: prevent non-existing clkctrl clocks from registering
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
dmaengine: ti: k3-udma: Remove hack for sysfw reserved channels/flows
We query the resource ranges via tisci and the hack to mask tchan0, rchan
and rflow 0/1 is no longer needed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
We query the resource ranges via tisci and the hack to mask tchan0, rchan
and rflow 0/1 is no longer needed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Merge branch 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-rt-linux-4.19.y
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments/connectivity.cfg: Enable AM654 MMC driver
arm64: dts: ti: k3-am654-base-board: Add eMMC Support
arm64: dts: ti: k3-am654: Add Support for eMMC host controller
mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: ti_linux_base_rt
TI-Tree: git@git.ti.com:ti-linux-kernel/ti-linux-kernel.git
TI-Branch: ti-linux-4.19.y
* 'ti-linux-4.19.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel:
ti_config_fragments/connectivity.cfg: Enable AM654 MMC driver
arm64: dts: ti: k3-am654-base-board: Add eMMC Support
arm64: dts: ti: k3-am654: Add Support for eMMC host controller
mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
Merge branch 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel into ti-linux-4.19.y
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
ti_config_fragments/connectivity.cfg: Enable AM654 MMC driver
arm64: dts: ti: k3-am654-base-board: Add eMMC Support
arm64: dts: ti: k3-am654: Add Support for eMMC host controller
mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
TI-Feature: connectivity
TI-Tree: git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel.git
TI-Branch: connectivity-ti-linux-4.19.y
* 'connectivity-ti-linux-4.19.y' of git://git.ti.com/connectivity-integration-tree/connectivity-ti-linux-kernel:
ti_config_fragments/connectivity.cfg: Enable AM654 MMC driver
arm64: dts: ti: k3-am654-base-board: Add eMMC Support
arm64: dts: ti: k3-am654: Add Support for eMMC host controller
mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver
dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs
Signed-off-by: LCPD Auto Merger <lcpd_integration@list.ti.com>
ARM: dts: am4372: Set memory bandwidth limit for DISPC
Set memory bandwidth limit to filter out resolutions above 720p@60Hz to
avoid underflow errors due to the bandwidth needs of higher resolutions.
am43xx can not provide enough bandwidth to DISPC to correctly handle
'high' resolution.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Set memory bandwidth limit to filter out resolutions above 720p@60Hz to
avoid underflow errors due to the bandwidth needs of higher resolutions.
am43xx can not provide enough bandwidth to DISPC to correctly handle
'high' resolution.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
HACK: drm/omap: flush the mapped page in kmap/kunmap
A kernel driver can access a omapdrm/gem backed buffer page through
a cycle of dma_buf_begin_cpu_access, dma_buf_kmap & dma_buf_kunmap,
dma_buf_end_cpu_access function invocations. Any changes to the
buffer by the kernel driver are not reflected properly in RAM,
so flush the cache deliberately in the kmap/kunmap dma_buf ops
implementations of the omapdrm/gem buffers.
NOTE:
This is a HACK patch and is being added to enable hardware accelerated
MultiMedia usecases leveraging libdce in userspace and rpmsg-rpc kernel
driver to run successfully. It will be reverted once a proper solution
is arrived at.
Signed-off-by: Erik Rainey <erik.rainey@ti.com>
[s-anna@ti.com: add proper comments, commit description & checkpatch fixes]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
A kernel driver can access a omapdrm/gem backed buffer page through
a cycle of dma_buf_begin_cpu_access, dma_buf_kmap & dma_buf_kunmap,
dma_buf_end_cpu_access function invocations. Any changes to the
buffer by the kernel driver are not reflected properly in RAM,
so flush the cache deliberately in the kmap/kunmap dma_buf ops
implementations of the omapdrm/gem buffers.
NOTE:
This is a HACK patch and is being added to enable hardware accelerated
MultiMedia usecases leveraging libdce in userspace and rpmsg-rpc kernel
driver to run successfully. It will be reverted once a proper solution
is arrived at.
Signed-off-by: Erik Rainey <erik.rainey@ti.com>
[s-anna@ti.com: add proper comments, commit description & checkpatch fixes]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drm/omap: dss: platform_register_drivers() to dss.c and remove core.c
The core.c just for registering the drivers is kind of useless. Let's
get rid of it and register the dss drivers in dss.c.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
The core.c just for registering the drivers is kind of useless. Let's
get rid of it and register the dss drivers in dss.c.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>