fuse.h (a7083763619f7485ccdade160deb81737cf2732f) fuse.h (aeecc50ace0480e6df565093e578b129902918db)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2010 Google, Inc.
4 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
5 *
6 * Author:
7 * Colin Cross <ccross@android.com>
8 */

--- 29 unchanged lines hidden (view full) ---

38 bool clk_suspend_on;
39};
40
41struct tegra_fuse {
42 struct device *dev;
43 void __iomem *base;
44 phys_addr_t phys;
45 struct clk *clk;
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2010 Google, Inc.
4 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
5 *
6 * Author:
7 * Colin Cross <ccross@android.com>
8 */

--- 29 unchanged lines hidden (view full) ---

38 bool clk_suspend_on;
39};
40
41struct tegra_fuse {
42 struct device *dev;
43 void __iomem *base;
44 phys_addr_t phys;
45 struct clk *clk;
46 struct reset_control *rst;
46
47 u32 (*read_early)(struct tegra_fuse *fuse, unsigned int offset);
48 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
49 const struct tegra_fuse_soc *soc;
50
51 /* APBDMA on Tegra20 */
52 struct {
53 struct mutex lock;

--- 6 unchanged lines hidden (view full) ---

60
61 struct nvmem_device *nvmem;
62 struct nvmem_cell_lookup *lookups;
63};
64
65void tegra_init_revision(void);
66void tegra_init_apbmisc(void);
67
47
48 u32 (*read_early)(struct tegra_fuse *fuse, unsigned int offset);
49 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
50 const struct tegra_fuse_soc *soc;
51
52 /* APBDMA on Tegra20 */
53 struct {
54 struct mutex lock;

--- 6 unchanged lines hidden (view full) ---

61
62 struct nvmem_device *nvmem;
63 struct nvmem_cell_lookup *lookups;
64};
65
66void tegra_init_revision(void);
67void tegra_init_apbmisc(void);
68
68u32 __init tegra_fuse_read_spare(unsigned int spare);
69bool __init tegra_fuse_read_spare(unsigned int spare);
69u32 __init tegra_fuse_read_early(unsigned int offset);
70
71u8 tegra_get_major_rev(void);
72u8 tegra_get_minor_rev(void);
73
74extern const struct attribute_group tegra_soc_attr_group;
75
76#ifdef CONFIG_ARCH_TEGRA_2x_SOC

--- 57 unchanged lines hidden ---
70u32 __init tegra_fuse_read_early(unsigned int offset);
71
72u8 tegra_get_major_rev(void);
73u8 tegra_get_minor_rev(void);
74
75extern const struct attribute_group tegra_soc_attr_group;
76
77#ifdef CONFIG_ARCH_TEGRA_2x_SOC

--- 57 unchanged lines hidden ---