Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: reset: a10sr: Add Arria10 SR Reset Controller offsets

The Arria10 System Resource Chip reset controller handles the
Arria10 peripheral PHYs. This patch adds the offsets for
these PHYs.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Thor Thayer and committed by
Philipp Zabel
843fc75a abf97755

+34
+1
MAINTAINERS
··· 654 654 F: drivers/gpio/gpio-altera-a10sr.c 655 655 F: drivers/mfd/altera-a10sr.c 656 656 F: include/linux/mfd/altera-a10sr.h 657 + F: include/dt-bindings/reset/altr,rst-mgr-a10sr.h 657 658 658 659 ALTERA TRIPLE SPEED ETHERNET DRIVER 659 660 M: Vince Bridgers <vbridger@opensource.altera.com>
+33
include/dt-bindings/reset/altr,rst-mgr-a10sr.h
··· 1 + /* 2 + * Copyright Intel Corporation (C) 2017. All Rights Reserved 3 + * 4 + * This program is free software; you can redistribute it and/or modify it 5 + * under the terms and conditions of the GNU General Public License, 6 + * version 2, as published by the Free Software Foundation. 7 + * 8 + * This program is distributed in the hope it will be useful, but WITHOUT 9 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11 + * more details. 12 + * 13 + * You should have received a copy of the GNU General Public License along with 14 + * this program. If not, see <http://www.gnu.org/licenses/>. 15 + * 16 + * Reset binding definitions for Altera Arria10 MAX5 System Resource Chip 17 + * 18 + * Adapted from altr,rst-mgr-a10.h 19 + */ 20 + 21 + #ifndef _DT_BINDINGS_RESET_ALTR_RST_MGR_A10SR_H 22 + #define _DT_BINDINGS_RESET_ALTR_RST_MGR_A10SR_H 23 + 24 + /* Peripheral PHY resets */ 25 + #define A10SR_RESET_ENET_HPS 0 26 + #define A10SR_RESET_PCIE 1 27 + #define A10SR_RESET_FILE 2 28 + #define A10SR_RESET_BQSPI 3 29 + #define A10SR_RESET_USB 4 30 + 31 + #define A10SR_RESET_NUM 5 32 + 33 + #endif