Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
cd82ceb
shared: Adding mcopy syscall for x64
Apr 1, 2014
87534e4
kernel: Providing API to allow userland programs to request a cold or…
TerryWilcoxNI May 19, 2014
ef924dd
kernel: Add config option to specify NI cold boot support
Jun 10, 2014
11938e7
proc/interrupts: Add polling
harisokanovic Sep 25, 2015
8785c15
ftrace: ni: add raw marker support for trace tool
rtollert Apr 5, 2012
483b642
time: Make the clocksource watchdog user configurable
gratian Mar 24, 2016
2e7e62b
Revert "time: Always make sure wall_to_monotonic isn't positive"
Mar 1, 2017
1998d96
i2c-i801.c: Skip SPD initialization on cRIO-903x
Aug 30, 2021
acc8c99
nirtfeatures: Added NI RT features driver
Dec 16, 2013
aa736b8
nirtfeatures: change hard_boot to soft_reset to match our Zynq targets
Mar 14, 2014
fa90ba2
nirtfeatures: modify reset_source to match Zynq
Mar 14, 2014
b7e170f
nirtfeatures: restructure init function to close holes
Mar 14, 2014
63f7b54
nirtfeatures: add LOCK, DEBUG_SWITCH, and GP_BUTTON registers
Mar 14, 2014
7b34548
nirtfeatures: Change Hammerhead ID to match hardware
Mar 21, 2014
a30c3a7
nirtfeatures: support for Winghead variant
Apr 1, 2014
c4d2ef7
nirtfeatures: support latest CPLD
Apr 1, 2014
3797d63
nirtfeatures: don't bail out on unrecognized ID
Apr 10, 2014
b224307
nirtfeatures: remove unused NI_HW_REBOOT config option
Apr 11, 2014
36d9958
nirtfeatures: update to latest CPLD and remove debugging features
Apr 11, 2014
87e7c12
nirtfeatures: Physical interface element support
gratian May 13, 2014
53f897c
nirtfeatures: Don't rename wifi LEDs
natesully Sep 29, 2015
989ef26
nirtfeatures: Add control for WiFi reset as a vmmc regulator
Aug 9, 2016
b76473e
nirtfeatures: Add Fire Eagle backplane ID
kroeschl Sep 9, 2016
7c91729
nirtfeatures: Housecleaning of comments, comparisons, etc.
Oct 14, 2016
ccb9880
nirtfeatures: Implement serial IRQ mechanism for user push button.
Feb 17, 2017
9b6a5e7
nirtfeatures: Add Ironclad reset source string
kroeschl Feb 15, 2017
b882ca8
nirtfeatures: Use managed resource allocation
kroeschl Mar 16, 2017
4978a32
nirtfeatures: Add Swordfish backplane ID
kroeschl Mar 14, 2018
585973b
nirtfeatures: Only register bi-color LEDs on supported targets
kroeschl Mar 14, 2018
55b76e4
nirtfeatures: Automatically select support for NEW_LEDS
gratian Aug 20, 2021
2e434ce
nirtfeatures: Add Dogfish backplane ID and LED info
kroeschl Nov 30, 2018
e5c38af
niwatchdog: Added NI Watchdog driver
Dec 16, 2013
70d2b05
niwatchdog: Added ioctl interface for NI Watchdog
Mar 5, 2014
699f547
niwatchdog: Added NIWATCHDOG_STATE_DISABLED
Mar 6, 2014
f5ce7e5
niwatchdog: Implemented NI Watchdog for NI Linux x64 targets.
Mar 6, 2014
f334641
niwatchdog: remove register_dump
Apr 10, 2014
53a819f
niwatchdog: Explicitly request threaded interrupt
kroeschl Feb 19, 2016
c118099
niwatchdog: Fix error path in ACPI add
kroeschl Aug 7, 2017
54752b6
niwatchdog: Request IRQ on ACPI add instead of miscdevice open
kroeschl Aug 2, 2017
ca97614
watchdog: nic7018_wdt: Add support for trigger pet and trigger assert
Feb 6, 2017
eb87e23
watchdog: nic7018_wdt: Add support for timeout interrupt
Jul 8, 2017
6a965c1
cfg80211: wext: Force scans to occur in AP mode
Mar 16, 2015
b8382fb
wlcore: Depend on WIRELESS_EXT for nitargetcfg
nisundar Apr 2, 2013
0a8f30d
ath6kl: set initial region using DMI info
natesully Nov 5, 2015
487a975
ath6kl: Add Silex firmware capabilities
Oct 28, 2015
9313451
ath6kl: select board file using DMI info
natesully Mar 16, 2016
58e98fb
ath6kl: Add ATH6KL_FW_CAPABILITY_SET_RSN_CAP capabilities
Apr 4, 2016
b0f5ee6
ath6kl: Add Silex enums to set APPIE and RSN CAP
Apr 4, 2016
3c3bdf0
ath6kl: fix firmware race condition by retrying initialization
Feb 25, 2016
79fffef
ath6kl: Retry SDIO function initialization on failure
Apr 25, 2016
80a6616
ni: wifi: ath6kl: Enable BIOS code to load "bdata.XX.bin" board file.
Jun 5, 2017
b88feb1
net: ath6kl: silex: Separate region and board file selection
Feb 27, 2018
be18357
mmc: core: Wait for Vdd to settle on card power off
kroeschl Sep 1, 2017
b7a7efc
mmc: sdhci: Disable SD card clock before changing parameters
kroeschl Apr 24, 2018
4380847
mmc: sdhci: Handle tuning error interrupts
kroeschl May 15, 2018
05521a6
8250: Do not create ttyS* nodes for nonexistant devices
Mar 14, 2014
2529e94
dt-bindings: serial: ni,ni16650: add bindings
bstreiff Jan 19, 2023
ca2a9f2
include/uapi pps.h: increase PPS_MAX_SOURCES value
Sep 5, 2023
dca8306
nati_x86_64_defconfig: defconfig for NI x86_64-based targets
gratian May 20, 2015
426f4a9
usb: dwc3: call _DSM for core soft reset
wanahmadzainie Mar 14, 2017
d7a368e
efivarfs: skip efivar_query_variable_info on PREEMPT_RT
gratian Mar 18, 2024
c7627a2
Revert "mmc: sdhci: Add support for "Tuning Error" interrupts"
erickshepherdNI Aug 21, 2024
160f55c
nati_bluefin_defconfig: defconfig for bluefin targets
chaitu236 Mar 6, 2025
7c914ae
nati_zynq_defconfig: defconfig for NI Zynq-based targets
chaitu236 Mar 7, 2025
23bc331
devicetree: Create initial NI Zynq base device tree include file and …
gratian Jun 13, 2014
e4ec4c8
devicetree: Update NI device trees for chipidea
natesully Aug 19, 2015
7d6fafe
nizynq: Enable pl310 prefetch
natesully Sep 28, 2015
80b0a6b
ni-zynq.dtsi: Disable PL310 power options
Feb 22, 2016
7918440
ni-bluefin: add device tree
bstreiff May 5, 2016
f318b45
ni-bluefin: set phy address for fixed-link
bstreiff Jan 12, 2017
0fed22f
devicetree: Move xilinx device trees to the xilinx directory
Jan 17, 2025
2f555aa
mtd: Introduce CONFIG_MTD_RESERVE_END
May 10, 2013
9d4c67d
mtd: nand: xilinx: Rename the pl353 NAND driver to match bootloader
gratian Sep 25, 2014
daab4b2
ARM: dts: ni-zynq: Drop obsolete bindings
HatsyRei Feb 5, 2025
7c1614d
ARM: dts: ni-zynq: Enable zynq-7000 SMC, NAND nodes
HatsyRei Feb 5, 2025
e149457
ARM: dts: ni-zynq: Extend I2C, USB nodes via phandle
HatsyRei Feb 5, 2025
2db35d7
ARM: dts: ni-bluefin: Update AMBA and GPIO bindings
HatsyRei Feb 5, 2025
10be949
ARM: dts: ni-zynq: Update NI 16550 bindings
HatsyRei Feb 10, 2025
0460d99
serial: core: create anonymous parent device
nikhalim Feb 13, 2025
c5ccb95
github-actions: Add PR checks
chaitu236 Feb 24, 2025
f201cd7
fixup! proc/interrupts: Add polling
chaitu236 Mar 7, 2025
3b79117
pl35x-nand-controller: Enable on-die ECC subpage operations
HatsyRei Mar 3, 2025
b83fe9c
serial: 8250: add driver for NI UARTs
chaitu236 Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: PR Checks

on:
pull_request: {}
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 100

- name: Fetch base_ref
run: git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin ${{ github.base_ref }}

- name: Install build dependencies
run: |
sudo apt update
sudo apt install libelf-dev

- name: "[TEST] Build nati_x86_64_defconfig"
run: |
make nati_x86_64_defconfig
make -j8 bzImage modules

- name: "[TEST] Does nati_x86_64_defconfig need update"
run: |
make savedefconfig
diff defconfig arch/x86/configs/nati_x86_64_defconfig

- name: "[TEST] Is rebase required"
run: |
common_ancestor=$(git merge-base HEAD origin/${{ github.base_ref }})
base_ref_head=$(git log -1 --format=%H origin/${{ github.base_ref }})

[ $common_ancestor == $base_ref_head ]

- name: "[TEST] Run checkpatch.pl"
run: |
common_ancestor=$(git merge-base HEAD origin/${{ github.base_ref }})
git format-patch $common_ancestor
./scripts/checkpatch.pl *patch
51 changes: 51 additions & 0 deletions Documentation/devicetree/bindings/serial/ni,ni16550.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/ni,ni16550.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NI 16550 asynchronous serial interface (UART)

maintainers:
- Brenda Streiff <[email protected]>

allOf:
- $ref: serial.yaml#

properties:
compatible:
const: ni,ni16550

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1

ni,serial-port-mode:
description: Indicates whether this is an RS-232 or RS-485 serial port.
$ref: /schemas/types.yaml#/definitions/string
enum: [ RS-232, RS-485 ]
default: RS-485

required:
- compatible
- reg
- interrupts

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
serial@80000000 {
compatible = "ni,ni16550";
reg = <0x80000000 0x8>;
interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_uart>;
ni,serial-port-mode = "RS-232";
};
...
6 changes: 6 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -15903,6 +15903,12 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next
F: drivers/mtd/nand/
F: include/linux/mtd/*nand*.h

NATIONAL INSTRUMENTS SERIAL DRIVER
M: Chaitanya Vadrevu <[email protected]>
L: [email protected]
S: Maintained
F: drivers/tty/serial/8250/8250_ni.c

NATIVE INSTRUMENTS USB SOUND INTERFACE DRIVER
M: Daniel Mack <[email protected]>
L: [email protected]
Expand Down
106 changes: 106 additions & 0 deletions arch/arm/boot/dts/xilinx/ni-793x.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/dts-v1/;
/include/ "ni-zynq.dtsi"

/* NIDEVCODE 77AC */
/* NIDEVCODE 77B2 */
/* NIDEVCODE 77B1 */

/ {
model = "NI-793x";
compatible = "ni,zynq", "xlnx,zynq-7000";

amba@0 {

leds-ni793x@4020F000 {
compatible = "ni,led-793x";
reg = <0x4020F000 4>;
user1 {
label = "nilrt:user1:green";
};
};

i2c0: i2c@e0004000 {
nicpld@40 {
watchdogs {
boot-watchdog {
interrupt-parent = <&gpio>;
interrupts = <15 2 /* IRQ_TYPE_EDGE_FALLING */>;
};
};

leds {
status-0 {
label = "nilrt:status:yellow";
max-brightness = <0xFFFF>;
};
eth0-0 {
label = "nilrt:eth0:green";
linux,default-trigger =
"e000b000.etherne:00:100Mb";
};
eth0-1 {
label = "nilrt:eth0:yellow";
linux,default-trigger =
"e000b000.etherne:00:Gb";
};
};
};

ds3231_rtc@68 {
status = "okay";
};
};
};
};

&gem0 {
status = "okay";

/* No fpga_clk specified because we want our FPGA clock
* (fclk0) to always be 125 MHz. The bootloader sets
* fclk0 to 125 MHz and we just leave it like that. */

phy-handle = <&phy0>;
phy-mode = "rgmii-id";
#address-cells = <0x1>;
#size-cells = <0x0>;

emio-speed-gpios = <0>,
<&gpio 54 0>;

phy0: phy@0 {
compatible = "micrel,KSZ9031";
device_type = "ethernet-phy";
reg = <0x0>;
/* Interrupt on GPIO1. */
interrupts = <1 8 /* IRQ_TYPE_LEVEL_LOW */>;
interrupt-parent = <&gpio>;

/* Set RX_CLK Pad Skew [4:0] to 0b00000. */
rxc-skew-ps = <0>;
};
};

&sdhci0 {
status = "okay";
};

&ni_uart0 {
status = "okay";
transceiver = "RS-232";
};

&usb0 {
status = "okay";
dr_mode = "peripheral";
};

&usb1 {
status = "okay";
dr_mode = "host";
};

&clkc {
/* Enable fclk0 for eth0 and eth1, fclk1 for serial. */
fclk-enable = <0x3>;
};
92 changes: 92 additions & 0 deletions arch/arm/boot/dts/xilinx/ni-bluefin.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/dts-v1/;
/include/ "ni-zynq.dtsi"

/* NIDEVCODE 78C7 */
/* NIDEVCODE 78B9 */

/ {
model = "NI Bluefin";
compatible = "ni,zynq", "xlnx,zynq-7000";

leds {
compatible = "gpio-leds";

/* LED_STATUSy on GPIO46 */
status {
label = "nilrt:status:yellow";
gpios = <&gpio0 46 0>;
default-state = "on";
};

/* LED_ACTIVEg on GPIO47 */
active {
label = "nilrt:active:green";
gpios = <&gpio0 47 0>;
default-state = "off";
};
};

gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;

/* Reset switch is on GPIO48 */
reset_sw@0 {
label = "reset_sw";
gpios = <&gpio0 48 1 /* GPIO_ACTIVE_LOW */>;
linux,code = <408>; /* KEY_RESTART */
gpio-key,wakeup;
};
};

gpio_restart {
compatible = "gpio-restart";

/* ~PS_FORCE_RESET is on GPIO44 */
gpios = <&gpio0 44 1 /* GPIO_ACTIVE_LOW */>;
priority = <200>;
};
};

&i2c0 {
/* Override ni-zynq.dtsi; we do not have a CPLD at 0x40. */
nicpld@40 {
status = "disabled";
};

tmp451@4C {
compatible = "ti,tmp451";
reg = <0x4C>;
vcc-supply = <&regulator_vccpint>;
};
};

&gem0 {
status = "okay";
emio-speed-gpios = <0>,
<&gpio0 54 0>;

#address-cells = <0x1>;
#size-cells = <0x0>;

fixed-link {
speed = <1000>;
full-duplex;
reg = <0>;
};
};

&uart1 {
status = "okay";
};

&usb0 {
status = "okay";
dr_mode = "host";
};

&watchdog0 {
status = "okay";
reset-on-timeout;
};
Loading
Loading