reset-meson.c (c38ae95cd31c636ae21fff3e6a9250df680f0cdd) | reset-meson.c (fb4c31587adfa9cd50661a535bdbfcc4da57ee38) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2/* 3 * Amlogic Meson Reset Controller driver 4 * 5 * Copyright (c) 2016-2024 BayLibre, SAS. 6 * Authors: Neil Armstrong <narmstrong@baylibre.com> 7 * Jerome Brunet <jbrunet@baylibre.com> 8 */ --- 4 unchanged lines hidden (view full) --- 13#include <linux/module.h> 14#include <linux/platform_device.h> 15#include <linux/regmap.h> 16#include <linux/reset-controller.h> 17 18#include "reset-meson.h" 19 20static const struct meson_reset_param meson8b_param = { | 1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2/* 3 * Amlogic Meson Reset Controller driver 4 * 5 * Copyright (c) 2016-2024 BayLibre, SAS. 6 * Authors: Neil Armstrong <narmstrong@baylibre.com> 7 * Jerome Brunet <jbrunet@baylibre.com> 8 */ --- 4 unchanged lines hidden (view full) --- 13#include <linux/module.h> 14#include <linux/platform_device.h> 15#include <linux/regmap.h> 16#include <linux/reset-controller.h> 17 18#include "reset-meson.h" 19 20static const struct meson_reset_param meson8b_param = { |
21 .reset_ops = &meson_reset_ops, |
|
21 .reset_num = 256, 22 .reset_offset = 0x0, 23 .level_offset = 0x7c, 24 .level_low_reset = true, 25}; 26 27static const struct meson_reset_param meson_a1_param = { | 22 .reset_num = 256, 23 .reset_offset = 0x0, 24 .level_offset = 0x7c, 25 .level_low_reset = true, 26}; 27 28static const struct meson_reset_param meson_a1_param = { |
29 .reset_ops = &meson_reset_ops, |
|
28 .reset_num = 96, 29 .reset_offset = 0x0, 30 .level_offset = 0x40, 31 .level_low_reset = true, 32}; 33 34static const struct meson_reset_param meson_s4_param = { | 30 .reset_num = 96, 31 .reset_offset = 0x0, 32 .level_offset = 0x40, 33 .level_low_reset = true, 34}; 35 36static const struct meson_reset_param meson_s4_param = { |
37 .reset_ops = &meson_reset_ops, |
|
35 .reset_num = 192, 36 .reset_offset = 0x0, 37 .level_offset = 0x40, 38 .level_low_reset = true, 39}; 40 41static const struct meson_reset_param t7_param = { 42 .reset_num = 224, --- 60 unchanged lines hidden --- | 38 .reset_num = 192, 39 .reset_offset = 0x0, 40 .level_offset = 0x40, 41 .level_low_reset = true, 42}; 43 44static const struct meson_reset_param t7_param = { 45 .reset_num = 224, --- 60 unchanged lines hidden --- |