-
Notifications
You must be signed in to change notification settings - Fork 89
Add device tree for SLSC and migrate other nati_slsc_dts related changes. #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
kkang-NI
wants to merge
16
commits into
ni:nilrt/master/6.6
from
kkang-NI:dev/kkang/nati_slsc_12001_dts
Closed
Add device tree for SLSC and migrate other nati_slsc_dts related changes. #223
kkang-NI
wants to merge
16
commits into
ni:nilrt/master/6.6
from
kkang-NI:dev/kkang/nati_slsc_12001_dts
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add device tree for SLSC to enable SPI based modules communication. Signed-off-by: George Huang <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Adjust SPI interrupt assignemnt; fix MTD partition size, Fix spidev comaptible name string Signed-off-by: George Huang <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Correct the IRQ settings on the device tree for SPI controller 7 and 8 Signed-off-by: George Huang <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Add SLSC FPGA to device tree to enable Usermode driver for module control and interrupt handling. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Remove trailing whitespace on dts file since review-board will flag them as problem. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Correct the device code and model name of SLSC in the device tree. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Pull in device tree settings of Tecate for Linux kernel 4.1 to improve compatibility of the SLSC hardware with the kernel. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Remove unused hardware from device tree to reflect the actual state of the SLSC hardware. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Replace SLSC SPI controller compatible type with spidev rather than Rohm DAC to reflect what the SPI hardware to actually compatible with. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Adding model number to the device tree to indicate that it is only valid for SLSC 12001 since a different dts file is required for a SLSC chassis that has different number of slots. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Removed "0x" prefix for the device code and replaced leading spaces by tabs so that the format is consistent with other dts files. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Rename the compatible id of slscfpga from generic-uio to ni,slscfpga so that it can better describe the hardware. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Add AD7291 ADC to device tree for monitoring chassis temperature, fan, and battery. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Resolve a discrepancy of interrupt type between the slscfpga in dts and the actual fpga hardware by updating slscfpga device in dts to be level high trigger instead of default since the default is edge trigger but the FPGA implementation is level trigger. Signed-off-by: Sien Wu <[email protected]> Signed-off-by: Kae Woei Kang <[email protected]>
Limit the max SPI frequency for m25p80 to 1MHz. Allowing faster SPI clock for the m25p80 on SLSC module would result in potential failure when talking to a module that only meets the 1MHz minimum SPI clock timing. Signed-off-by: Sien Wu <[email protected]> Acked-by: Brad Keryan <[email protected]> Natinst-ReviewBoard-ID 150232 Signed-off-by: Kae Woei Kang <[email protected]>
zynq-700.dtsi contains i2c0 and i2c1 device tree node phandles. Referencing i2c0 and i2c1 phandle for overriding i2c bindings. Signed-off-by: Kae Woei Kang <[email protected]>
I realized there is a numbers of PR Checks failures that link to every individual commit which I cherry picked from dev/slsc/1.0/4.1. It seems like I will have to fix the failures (spaces to tabs) in every commit while cherry picking. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
migrated nati_slsc_dts related changes from branch dev/slsc/1.0/4.1 to ni/linux repo branch nilrt/master/6.6.
WI: AB#3014043
Testing: