Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch shouldn't exist, as we should be able to reuse the
arm64 version for free. I'll get there eventually, but in the
meantime I need a timer ticking.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
Concert the CP15 save/restore code to C.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
Convert the TLB invalidation code to C, hooking it into the
build system whilst we're at it.
Signed-off-by: Marc Zyngier <[email protected]>
|
|
In order to move system register (CP15, mostly) access to C code,
add a few macros to facilitate this, and minimize the difference
between 32 and 64bit CP15 registers.
This will get heavily used in the following patches.
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
In order to expose the various HYP services that are private to
the hypervisor, add a new hyp.h file.
So far, it only contains mundane things such as section annotation
and VA manipulation.
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
Continuing our rework of the CPU context, we now move the GP
registers into the CPU context structure.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
Continuing our rework of the CPU context, we now move the CP15
array into the CPU context structure. As this causes quite a bit
of churn, we introduce the vcpu_cp15() macro that abstract the
location of the actual array. This will probably help next time
we have to revisit that code.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
In order to turn the WS code into something that looks a bit
more like the arm64 version, move the VFP registers into a
CPU context container for both the host and the guest.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
Now that we've unified the way we refer to the HYP text between
arm and arm64, drop __kvm_hyp_code_start/end, and just use the
__hyp_text_start/end symbols.
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
In order to be able to spread the HYP code into multiple compilation
units, adopt a layout similar to that of arm64:
- the HYP text is emited in its own section (.hyp.text)
- two linker generated symbols are use to identify the boundaries
of that section
No functionnal change.
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
As we're about to move the stage2 init to C code, introduce some
C hooks that will later be populated with arch-specific implementations.
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
Merge "Second Round of Renesas ARM Based SoC DT Updates for v4.6" from
Simon Horman:
* Add L2 cache-controller nodes to r8a779[0134] and r8a73a4
* Add etheravb support to r8a7794
* Correct JP3 jumper description on Porter
* Enable thermal zone on r8a779[013]
* Replace gpio-key, wakeup with wakeup-source property on r8a7794
* Use demuxer for IIC0/I2C0 on lager
* Use fallback etheravb, pci and pcie compatibility strings as appropriate
* tag 'renesas-dt2-for-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: dts: r8a7790: use fallback etheravb compatibility string
ARM: dts: r8a7790: lager: use demuxer for IIC0/I2C0
ARM: dts: r8a7794: add EtherAVB support
ARM: dts: r8a7794: add EtherAVB clock
ARM: dts: r8a7794: replace gpio-key, wakeup with wakeup-source property
ARM: dts: r8a7794: Add L2 cache-controller node
ARM: dts: r8a7793: Add L2 cache-controller node
ARM: dts: r8a7791: Add L2 cache-controller node
ARM: dts: r8a7790: Add L2 cache-controller nodes
ARM: dts: r8a73a4: Add L2 cache-controller nodes
ARM: dts: r8a7793: enable to use thermal-zone
ARM: dts: r8a7791: enable to use thermal-zone
ARM: dts: r8a7790: enable to use thermal-zone
ARM: dts: porter: fix JP3 jumper description
ARM: dts: r8a7794: use fallback pci compatibility string
ARM: dts: r8a7791: use fallback pci compatibility string
ARM: dts: r8a7790: use fallback pci compatibility string
ARM: dts: r8a7791: use fallback pcie compatibility string
ARM: dts: r8a7790: use fallback pcie compatibility string
|
|
Calling return copy_to_user(...) in an ioctl will not
do the right thing if there's a pagefault:
copy_to_user returns the number of bytes not copied
in this case.
Fix up kvm to do
return copy_to_user(...)) ? -EFAULT : 0;
everywhere.
Cc: [email protected]
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
|
|
applying new changes
Signed-off-by: Ingo Molnar <[email protected]>
|
|
Add a device tree node entry for DAC peripheral on Vybrid SoC.
Signed-off-by: Sanchayan Maity <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
The backlinks are already there since commit 4520e69238b3 ("ARM: dts:
imx6qdl: Add IPU DI ports and endpoints, move imx-drm node to dtsi")
and were moved by commit 70c2652c6c5b ("ARM: dts: imx6qdl: Move existing
MIPI DSI ports into a new 'ports' node"), but the links from IPU2 DI0/1
to the MIPI DSI mux are missing. Fix this.
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add support for Advantech/GE B850v3 board.
Signed-off-by: Akshay Bhat <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add support for Advantech/GE B650v3 board.
Signed-off-by: Akshay Bhat <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add support for Advantech/GE B450v3 board.
Signed-off-by: Akshay Bhat <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Advantech has 3 carrier boards (B450v3, B650v3, B850v3) which use
the Advantech BA-16 module (based on iMX6D). This file has the
devicetree entries that are common to all 3 boards.
Signed-off-by: Akshay Bhat <[email protected]>
Signed-off-by: Justin Waters <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add support for Advantech BA-16 module based on iMX6D processor
Basic information about the module:
- Module manufacturer: Advantech
- CPU: Freescale ARM Cortex-A9 i.MX6
- SPECS:
Up to 2GB Onboard DDR3 Memory;
Up to 16GB Onboard eMMC NAND Flash
Supports OpenGL ES 2.0 and OpenVG 1.1
HDMI, 24-bit LVDS
1x UART, 2x I2C, 8x GPIO,
4x Host USB 2.0 port, 1x USB OTG port,
1x micro SD (SDHC),1x SDIO, 1x SATA II,
1x 10/100/1000 Mbps Ethernet, 1x PCIe X1 Gen2
- Website: http://goo.gl/JED98U
Signed-off-by: Akshay Bhat <[email protected]>
Signed-off-by: Justin Waters <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
For imx35, it needs three clocks to let the controller work,
the old code is wrong, and the usbmisc does not include
clock handling code any more.
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
For imx25, it needs three clocks to let the controller work,
the old code is wrong, and usbmisc has not included clock
handling code any more.
Tested-by: Fabio Estevam <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
This patch adds the device node for the i.MX6UL keypad controller.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add the device node for the i.MX6UL GPMI interface and the related
APBH DMA which is necessary for the GPMI to work properly.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add the device node for the i.MX6UL eLCDIF interface.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add device nodes for the i.MX6UL synchronous audio interfaces (SAI).
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add device nodes for the i.MX6UL flexcan interfaces.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add device node for the i.MX6UL SDMA unit.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add device nodes for the PWM uinits 1..4 which were missing in the
original commit for i.MX6UL support.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Since PWMs are only useful if they are actually connected to an output pin,
let users enable them explicitly in their device trees where they should
also set up the pin configuration. This is in sync with a recent change
(commit e2675266b39b "ARM: dts: imx6qdl: disable PWMs by default")
to other i.MX SoCs.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
i.MX6UL PWMs require real clocks. Define the appropriate clocks for
the PWM units.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
The i.MX6UL GPT unit requires real clocks. Define the appropriate
clocks to make it work.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
imx6ul.dtsi references the macro 'KEY_POWER' from
dt-bindings/input/input.h. Thus, move the include statement for this
file from imx6ul-14x14-evk.dts to imx6ul.dtsi itself.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Move the tsc node to keep the nodes sorted in ascending order by unit
address.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Pad DISPB2_SER_RS has no function DISP1_EXT_CLK.
The definition is obviusly a copy/paste error from
MX51_PAD_DISPB2_SER_RS__DISP1_PIN16.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Various pads are missing the input_sel offset and value. Fix this.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Remove whitespace before TAB in indentation and reduce indentation
level to improve readability.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add pinmux for UART_A RTS, CTS pin's.
Signed-off-by: Bhuvanchandra DV <[email protected]>
Acked-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
All Freescale Vybrid SoC include a Cortex-A5 core which supports
ARM's standard PMU (performance monitoring unit). Include the
monitoring unit into the Cortex-A5 base device tree vf500.dtsi.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
The Colibri standard does not define a pin for SD-Card write-
protection. Use the disable-wp property to indicate that there
is no physical WP line present.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
According to the reference manual the shp_2_mcu / mcu_2_shp
scripts must be used for devices connected through the SPBA.
This fixes an issue we saw with DMA transfers from SPI NOR Flashes.
Sometimes the SPI controller RX FIFO was not empty after a DMA
transfer and the driver got stuck in the next PIO transfer when
it read one word more than expected.
Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Add the carrier boards 3.3V supply as fixed regulator. This allows
to specify the power supply for nodes like backlight.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Colibri modules need to be powered using the power pins 3V3 and
AVDD_AUDIO. Add fixed regulators which represent this power rails.
Potentially, those power rails could be switched on a carrier
board. A carrier board device tree could add a own regulator with
a GPIO, and reference that regulator in a vin-supply property of
those new module level system regulators.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Drop the fake simple-bus container 'regulators' and put the
regulators directly under the root node. This also makes the
artificial 'reg' properties superfluous. While at it, remove
the unnecessary regulator-always-on property and name the
regulators according to schematics.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Assign Ethernet clock parents explicitly. The Colibri VF61
uses the 50MHz Ethernet clock provided by PLL5.
The Vybrid SoC has two ethernet interfaces (fec0 and fec1) which
use the same clock source (VF610_CLK_ENET). Therefore this parent
configuration affects multiple consumer devices and need to be
specified in the clock provider node.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Assign Ethernet clock parents explicitly. The VF610 Tower Board
uses the external Ethernet clock input which is connected to
a 50MHz clock.
The Vybrid SoC has two ethernet interfaces (fec0 and fec1) which
use the same clock source (VF610_CLK_ENET). Therefore this parent
configuration affects multiple consumer devices and need to be
specified in the clock provider node.
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Signed-off-by: Soeren Moch <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Remove the following unnecessary iomuxc container nodes:
imx6q-tbs2910
gpio_fan
gpio_leds
Sort the pinctrl nodes alphabetically.
Signed-off-by: Soeren Moch <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|
|
Avoid the following warnings (example for usdhc2):
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state,
work on normal mode
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
Signed-off-by: Soeren Moch <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
|