Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
9b36ed0
github-actions: Add PR checks
chaitu236 Feb 24, 2025
460c81e
workflows: Add python3-ply and python3-git to pr-checks.yml
Apr 14, 2026
6811ad2
shared: Adding mcopy syscall for x64
Apr 1, 2014
73fc79d
kernel: Providing API to allow userland programs to request a cold or…
TerryWilcoxNI May 19, 2014
fbfedc9
kernel: Add config option to specify NI cold boot support
Jun 10, 2014
8df2a8e
proc/interrupts: Add polling
harisokanovic Sep 25, 2015
ca8c1b0
ftrace: ni: add raw marker support for trace tool
rtollert Apr 5, 2012
ffaba77
time: Make the clocksource watchdog user configurable
gratian Mar 24, 2016
bcd1f33
Revert "time: Always make sure wall_to_monotonic isn't positive"
Mar 1, 2017
e2bf0fb
include/uapi pps.h: increase PPS_MAX_SOURCES value
Sep 5, 2023
de7a404
usb: dwc3: call _DSM for core soft reset
wanahmadzainie Mar 14, 2017
85dc283
usb: dwc3: Remove mdelay to fix USBLAN issue
chaitu236 Mar 24, 2025
548465c
efivarfs: skip efivar_query_variable_info on PREEMPT_RT
gratian Mar 18, 2024
b22a57c
i2c-i801.c: Skip SPD initialization on cRIO-903x
Aug 30, 2021
6c83dd7
nirtfeatures: Added NI RT features driver
Dec 16, 2013
e941acb
nirtfeatures: change hard_boot to soft_reset to match our Zynq targets
Mar 14, 2014
98cfdb9
nirtfeatures: modify reset_source to match Zynq
Mar 14, 2014
7c45f8e
nirtfeatures: restructure init function to close holes
Mar 14, 2014
61496f1
nirtfeatures: add LOCK, DEBUG_SWITCH, and GP_BUTTON registers
Mar 14, 2014
b8617b0
nirtfeatures: Change Hammerhead ID to match hardware
Mar 21, 2014
2170abf
nirtfeatures: support for Winghead variant
Apr 1, 2014
887f3cf
nirtfeatures: support latest CPLD
Apr 1, 2014
47e2f7c
nirtfeatures: don't bail out on unrecognized ID
Apr 10, 2014
2c3ed04
nirtfeatures: remove unused NI_HW_REBOOT config option
Apr 11, 2014
ff2d2ce
nirtfeatures: update to latest CPLD and remove debugging features
Apr 11, 2014
bd3025e
nirtfeatures: Physical interface element support
gratian May 13, 2014
3d55cc5
nirtfeatures: Don't rename wifi LEDs
natesully Sep 29, 2015
e2dfb0f
nirtfeatures: Add control for WiFi reset as a vmmc regulator
Aug 9, 2016
2e4e34a
nirtfeatures: Add Fire Eagle backplane ID
kroeschl Sep 9, 2016
19a85b2
nirtfeatures: Housecleaning of comments, comparisons, etc.
Oct 14, 2016
100fd66
nirtfeatures: Implement serial IRQ mechanism for user push button.
Feb 17, 2017
1ebc2fe
nirtfeatures: Add Ironclad reset source string
kroeschl Feb 15, 2017
f3ab444
nirtfeatures: Use managed resource allocation
kroeschl Mar 16, 2017
b19b775
nirtfeatures: Add Swordfish backplane ID
kroeschl Mar 14, 2018
91d93a7
nirtfeatures: Only register bi-color LEDs on supported targets
kroeschl Mar 14, 2018
e445df6
nirtfeatures: Automatically select support for NEW_LEDS
gratian Aug 20, 2021
d895d68
nirtfeatures: Add Dogfish backplane ID and LED info
kroeschl Nov 30, 2018
62785c4
niwatchdog: Added NI Watchdog driver
Dec 16, 2013
922e5ca
niwatchdog: Added ioctl interface for NI Watchdog
Mar 5, 2014
79a3971
niwatchdog: Added NIWATCHDOG_STATE_DISABLED
Mar 6, 2014
77b15b5
niwatchdog: Implemented NI Watchdog for NI Linux x64 targets.
Mar 6, 2014
331c439
niwatchdog: remove register_dump
Apr 10, 2014
5a96053
niwatchdog: Explicitly request threaded interrupt
kroeschl Feb 19, 2016
0d19fd7
niwatchdog: Fix error path in ACPI add
kroeschl Aug 7, 2017
a83911a
niwatchdog: Request IRQ on ACPI add instead of miscdevice open
kroeschl Aug 2, 2017
817fddd
watchdog: nic7018_wdt: Add support for trigger pet and trigger assert
Feb 6, 2017
2f631df
watchdog: nic7018_wdt: Add support for timeout interrupt
Jul 8, 2017
5aca324
cfg80211: wext: Force scans to occur in AP mode
Mar 16, 2015
753b551
wlcore: Depend on WIRELESS_EXT for nitargetcfg
nisundar Apr 2, 2013
54d348f
ath6kl: set initial region using DMI info
natesully Nov 5, 2015
342fae7
ath6kl: Add Silex firmware capabilities
Oct 28, 2015
118cb06
ath6kl: select board file using DMI info
natesully Mar 16, 2016
2d9ef3b
ath6kl: Add ATH6KL_FW_CAPABILITY_SET_RSN_CAP capabilities
Apr 4, 2016
0d31cff
ath6kl: Add Silex enums to set APPIE and RSN CAP
Apr 4, 2016
7a13efe
ath6kl: fix firmware race condition by retrying initialization
Feb 25, 2016
7030a10
ath6kl: Retry SDIO function initialization on failure
Apr 25, 2016
01c79c5
ni: wifi: ath6kl: Enable BIOS code to load "bdata.XX.bin" board file.
Jun 5, 2017
39bec8a
net: ath6kl: silex: Separate region and board file selection
Feb 27, 2018
82490fc
net: dsa: mv88e6xxx: embed rx timestamps into packets
bstreiff Oct 16, 2025
5bd2324
net: dsa: mv88e6xxx: add 1588-related addresses to ATU as management …
bstreiff Oct 17, 2025
4ce32a9
mmc: sdhci: Handle tuning error interrupts
kroeschl May 15, 2018
6831634
Revert "mmc: sdhci: Add support for "Tuning Error" interrupts"
erickshepherdNI Aug 21, 2024
aa5a9e3
8250: Do not create ttyS* nodes for nonexistant devices
Mar 14, 2014
2490a08
serial: core: create anonymous parent device
nikhalim Feb 13, 2025
ec0e06b
serial: core: add checking for platform device
nikhalim Mar 12, 2025
d8c9264
dt-bindings: serial: ni,ni16650: add bindings
bstreiff Jan 19, 2023
5911414
serial: 8250: Add device tree support
chaitu236 Feb 27, 2025
324e9a8
devicetree: Create initial NI Zynq base device tree include file and …
gratian Jun 13, 2014
232695c
devicetree: Update NI device trees for chipidea
natesully Aug 19, 2015
11e9b2a
nizynq: Enable pl310 prefetch
natesully Sep 28, 2015
3b3e9ab
ni-zynq.dtsi: Disable PL310 power options
Feb 22, 2016
bb101d7
ni-bluefin: add device tree
bstreiff May 5, 2016
6343d78
ni-bluefin: set phy address for fixed-link
bstreiff Jan 12, 2017
9cf4ef4
devicetree: Move xilinx device trees to the xilinx directory
Jan 17, 2025
74561fd
ARM: dts: ni-zynq: Drop obsolete bindings
HatsyRei Feb 5, 2025
bd1169d
ARM: dts: ni-zynq: Enable zynq-7000 SMC, NAND nodes
HatsyRei Feb 5, 2025
8ebd27f
ARM: dts: ni-zynq: Extend I2C, USB nodes via phandle
HatsyRei Feb 5, 2025
a280627
ARM: dts: ni-bluefin: Update AMBA and GPIO bindings
HatsyRei Feb 5, 2025
d5d844e
ARM: dts: ni-zynq: Update NI 16550 bindings
HatsyRei Feb 10, 2025
70a8df7
ni-coralreef: add device tree
bstreiff Nov 7, 2018
77d9a72
ni-coralreef: Move device tree to xilinx folder
Mar 13, 2025
6e37787
ARM: dts: ni-coralreef: Update AMBA and GPIO bindings
Mar 13, 2025
fba1fbb
ARM: dts: ni-bluefin: Add Marvell ethernet switch bindings
HatsyRei Mar 19, 2025
9a641e1
ARM: dts: ni-zynq: Enable I2C Bus by default
HatsyRei Mar 24, 2025
35b467b
ARM: dts: ni-bluefin: Specify mv88e6341 switch PHYs
HatsyRei Mar 26, 2025
25449e6
ARM: ni-slsc-12001.dts: Add device tree for SLSC
sien-wu Jun 1, 2016
3d42304
ARM: ni-slsc-12001.dts: Update i2c bindings
Apr 24, 2025
310de43
ni-bluefin: enable mv88e6xxx PHY interrupts
Jan 5, 2026
b2f495c
ARM: dts: ni-slsc-12001: Enable system watchdog
Apr 15, 2026
83c77c1
dts: Add ni-bluefinlc device tree
Apr 13, 2026
3dffc9f
mtd: Introduce CONFIG_MTD_RESERVE_END
May 10, 2013
33e9681
mtd: nand: xilinx: Rename the pl353 NAND driver to match bootloader
gratian Sep 25, 2014
d254b66
mtd: Create gluebi mtdblocks if CONFIG_FTL is not enabled
HatsyRei Mar 4, 2025
0d7f1f9
pl35x-nand-controller: Enable dynamic clk rate setting
Mar 14, 2025
d719529
pl353_nand: Add module params to disable subpage read and write
harisokanovic Sep 7, 2016
bb54077
mtd: nand_micron: Enable subpage operations
HatsyRei Apr 22, 2025
b80ea60
nati_zynq_defconfig: defconfig for NI Zynq-based targets
chaitu236 Mar 7, 2025
b258796
nati_bluefin_defconfig: defconfig for NI Bluefin targets
chaitu236 Mar 6, 2025
8a092c5
nati_slsc_defconfig: defconfig for NI SLSC targets
sien-wu Jun 1, 2016
a4b9904
nati_x86_64_defconfig: defconfig for NI x86_64-based targets
gratian May 20, 2015
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
48 changes: 48 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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
sudo apt install python3-ply
sudo apt install python3-git

- 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 <brenda.streiff@ni.com>

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";
};
...
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>;
};
147 changes: 147 additions & 0 deletions arch/arm/boot/dts/xilinx/ni-bluefin.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
/dts-v1/;
#include <dt-bindings/interrupt-controller/irq.h>
/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";
#address-cells = <0x1>;
#size-cells = <0x0>;

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

mdio0: mdio {
status = "okay";
};
};

&mdio0 {
#address-cells = <1>;
#size-cells = <0>;

switch: switch@0 {
compatible = "marvell,mv88e6085";
reg = <0x0>;
status = "okay";
interrupt-parent = <&intc>;
interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
label = "cpu";
phy-mode = "rgmii-id";
ethernet = <&gem0>;
fixed-link {
speed = <1000>;
full-duplex;
};
};

port@1 {
reg = <1>;
label = "sw0";
phy-handle = <&swphy1>;
};

port@2 {
reg = <2>;
label = "sw1";
phy-handle = <&swphy2>;
};
};

mdio {
swphy1: ethernet-phy@11 {
reg = <0x11>;
};

swphy2: ethernet-phy@12 {
reg = <0x12>;
};
};
};
};

&uart1 {
status = "okay";
};

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

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