summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2017.09.0v2017.09.0Sascha Hauer2017-09-081-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entryAntony Pavlov2017-09-061-0/+1
| | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fs: Don't bother filesystems without link support with additional stat() callsSascha Hauer2017-09-061-0/+10
| | | | | | | | | | | | | In __canonicalize_path() we only call stat() to know if the path is a link or not. When the filesystem doesn't support links we already know that it's not a link, so we do not need to call stat(). This helps the tftp filesystem since the parent directories of a file to be opened won't be stat()ed anymore, something tftp does not support. Fixes: a602bebc fs: Implement links to directories Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fs: avoid pathes with '//' in __canonicalize_path()Sascha Hauer2017-09-061-2/+7
| | | | | | | | | In __canonicalize_path pathes beginning with '//' can occur. This is normally not a problem since normalize_path() will clean this up, but it means we cannot call get_fsdevice_by_path() on these pathes in this function, as needed in the next patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx7: sabreSD: remove duplicate DT nodesLucas Stach2017-08-151-40/+0
| | | | | | | | The latest upstream DTs have been merged, so remove the now duplicate DT nodes. Fixes: a0a5a7b84ff8 (ARM: i.MX: Add support for NXP i.MX7 SABRESD board) Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: imx: add stub for imx7_uart_setup_llLucas Stach2017-08-151-0/+1
| | | | | Fixes: 28e8db159f25 (ARM: i.MX: Add imx7_uart_setup_ll()) Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: imx: ccmx53: select I2CLucas Stach2017-08-151-0/+1
| | | | | | The board file needs i2c support to enable a regulator. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: imx: build imx6.o as ARMv7Lucas Stach2017-08-151-0/+1
| | | | | | | Otherwise the WFI instruction might not be available in a multi-image build. Fixes: 1e9458720a23 (ARM: i.MX: provide handler for power off over standby) Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: imx: fix phyBOARD-Zeta pinfunc typoLucas Stach2017-08-151-1/+1
| | | | | | | This has been resolved upstream, now the barebox private DTs need to follow. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* Merge branch 'for-next/tc358767'Lucas Stach2017-07-311-50/+179
|\
| * video: tc358767: accept any hsync and vsync polatiryAndrey Gusakov2017-07-061-6/+7
| | | | | | | | | | | | | | | | Do not fix modes. Instead set any sync polarity passed through VPL_PREPARE and fb_videomode. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: filter out modes with too high pixelclockAndrey Gusakov2017-07-061-0/+83
| | | | | | | | | | | | | | | | | | Minimum pixel clock period is 6.5 nS for DPI. Remove modes with lower pixel clock period. Also sort modes in decreasing order because currently first resolution in list is picked. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: optimize DPCD register writeAndrey Gusakov2017-07-061-11/+13
| | | | | | | | | | Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: optimize aux i2c bus checksAndrey Gusakov2017-07-061-11/+2
| | | | | | | | | | | | | | | | Move common check to tc_aux_i2c_xfer Remove duplicated check from tc_aux_i2c_write Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: support newer DPCD revisions and higher data ratesAndrey Gusakov2017-07-061-4/+16
| | | | | | | | | | | | | | | | | | Do not fail on newer DPCD revision. Assume it backwards compatible. Try to fall back to supported data rate in case display reports too high data rate. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: do not fail if sink supports more than 2 lanesAndrey Gusakov2017-07-061-5/+31
| | | | | | | | | | | | | | Display should support lower lane count for backward compatibility Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: fix AUXDATAn registers access during writeAndrey Gusakov2017-07-061-2/+2
| | | | | | | | | | | | | | | | | | First four bytes should go to DP0_AUXWDATA0. Due to bug if len > 4 first four bytes was writen to DP0_AUXWDATA1 and all data get shifted by 4 bytes. Fix it. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: fix timing calculationAndrey Gusakov2017-07-061-10/+13
| | | | | | | | | | | | | | | | Fields in HTIM01 and HTIM02 regs should be even. Recomended thresh_dly value is max_tu_symbol. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: fix DP0_MISC register setAndrey Gusakov2017-07-061-2/+2
| | | | | | | | | | | | | | | | Remove shift from TU_SIZE_RECOMMENDED define as it used to calculate max_tu_symbols. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * video: tc358767: fix EDID read for DP displaysAndrey Gusakov2017-07-061-5/+16
| | | | | | | | | | | | | | | | Desktop displays do not always support E-DDC. So do not fall on EDID segment index write operation. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* | Merge branch 'for-next/state'Lucas Stach2017-07-312-3/+1
|\ \
| * | state: backend_storage: remove unreachable error messagePhilipp Zabel2017-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | This looks like a leftover. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | state: backend_bucket_circular: promote old state debug message to infoPhilipp Zabel2017-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | A report about the changed on-storage state format might be interesting to the user. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* | | Merge branch 'for-next/socfpga'Lucas Stach2017-07-312-20/+20
|\ \ \
| * | | Documentation: socfpga: update sequencer documentationSteffen Trumtrar2017-07-111-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | Update the documentation in regard of the sequencer importer. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
| * | | scripts: socfpga_get_sequencer: update importerSteffen Trumtrar2017-07-111-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust two header files that where renamed in the meantime. While at it, also remove trailing whitespace and cleanup the script a little. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* | | | Merge branch 'for-next/nvmem'Lucas Stach2017-07-312-34/+67
|\ \ \ \
| * | | | dts: arm: imx6qdl: provide snvs-lpgpr deviceOleksij Rempel2017-07-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | nvmem: snvs_lpgpr: sync with latest version for kernelOleksij Rempel2017-07-061-34/+62
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | DT format is ACKed now without "offset" parameter. Make sure barebox driver will work with it properly. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* | | | Merge branch 'for-next/mmc'Lucas Stach2017-07-313-1269/+1681
|\ \ \ \
| * | | | mmc_extcsd command: reworkSascha Hauer2017-07-062-1187/+1603
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a rework of the mmc_extcsd command: - Always print registers. Previously we never printed registers that were already present in an older version of the spec - Put register names, access type and width into an array indexed by the register number - Print multibyte registers only once with the resulting value, and not bytewise. There's still more to cleanup, like for example we want to write multibyte registers once with the complete value, not bytewise. Anyway, this is a start. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | mmc_extcsd command: Fix multiline printsSascha Hauer2017-07-061-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The multiline prints lack the indention at the beginning of the second line. Add these. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | mmc: add eMMC v5 and V5.1 detection supportPeter Seiderer2017-07-062-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just add the defines. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | mmc: Consistently use EXT_CSD_* names from eMMC 5.1 specSascha Hauer2017-07-062-72/+61
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have kept the EXT_CSD registers which were added in the 5.1 spec separately for no good reason. Order the EXT_CSD defines by register number instead. Also we had some duplicates, for these consistently use the names from the 5.1 spec. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* | | | Merge branch 'for-next/misc'Lucas Stach2017-07-318-15/+67
|\ \ \ \
| * | | | ARM: at91: animeo: depend on !CONSOLE_NONELucas Stach2017-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The board file configures the consoles, so need console support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: imx: hab: depend on OFDEVICELucas Stach2017-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selected OCOTP driver requires OFDEVICE support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: imx: kindle: select ARM_LINUXLucas Stach2017-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The already selected ARM_BOARD_APPEND_ATAG depends on it. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | MIPS: add 74Kc infoOleksij Rempel2017-07-312-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is preparation for SoC QCA AR9344 Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | video/ssd1307fb: add support for VBATBastian Stender2017-07-301-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support to the driver to enable VBAT regulator at init time. This is similar to ba14301e0356 ("fbdev/ssd1307fb: add support to enable VBAT") and cfc5b2b551d8 ("fbdev/ssd1307fb: fix optional VBAT support") in Linux kernel. Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | clk: clk-fixed-factor: remove leftover debuggingLucas Stach2017-07-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't spam the output with rate propagation messages. It isn't done for any other clock. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | video: IPUv3-LDB: fix dual-channel modeLucas Stach2017-07-201-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the dual-channel mode to work correctly, both channels need to be muxed to the same DI and both clock branches need to be configured correctly. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | video: tc358767: demote ASSR enable failure to debug levelLucas Stach2017-07-201-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Same as in the Linux kernel. Failure to enable ASSR isn't a critical failure and can happen in normal use. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* | | | Merge branch 'for-next/imx'Lucas Stach2017-07-3183-2652/+5533
|\ \ \ \
| * | | | ARM: i.MX: Add support for NXP i.MX7 SABRESD boardAndrey Smirnov2017-07-309-1/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add minimal code to support NXP i.MX7 SABRESD board. Tested to have working SD card and first Ethernet port as well as being able to boot upstream Linux kernel (4.12+). Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | include: Add phy-id-list.hAndrey Smirnov2017-07-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add phy-id-list.h as a place to share Etherent PHY IDs between board specific code. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: i.MX: Import imx7-iomuxc-gpr.h from Linux kernelAndrey Smirnov2017-07-301-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: i.MX: Add ARCH_HAD_FEC_IMX to ARCH_IMX7Andrey Smirnov2017-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: i.MX: Add minimal imx7-ccm-regs.hAndrey Smirnov2017-07-301-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add minimal imx7-ccm-regs.h that contains bare minimum definitions needed for early UART setup. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| * | | | ARM: i.MX: Add imx7_uart_setup_ll()Andrey Smirnov2017-07-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add imx7_uart_setup_ll() for setting up UART selected for DEBUG_LL. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>