ti_sysc.c (c7aa572cacdeca83c35c12a378909d0b659300a9) ti_sysc.c (8a7a4683b0832ea18c028588a3c49946d499c371)
1/*-
2 * Copyright (c) 2019 Emmanuel Vadot <manu@FreeBSD.org>
3 *
4 * Copyright (c) 2020 Oskar Holmlund <oskar.holmlund@ohdata.se>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

115/* reg-names can be "rev", "sysc" and "syss" */
116static const char * reg_names[] = { "rev", "sysc", "syss" };
117#define REG_REV 0
118#define REG_SYSC 1
119#define REG_SYSS 2
120#define REG_MAX 3
121
122/* master idle / slave idle mode defined in 8.1.3.2.1 / 8.1.3.2.2 */
1/*-
2 * Copyright (c) 2019 Emmanuel Vadot <manu@FreeBSD.org>
3 *
4 * Copyright (c) 2020 Oskar Holmlund <oskar.holmlund@ohdata.se>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

115/* reg-names can be "rev", "sysc" and "syss" */
116static const char * reg_names[] = { "rev", "sysc", "syss" };
117#define REG_REV 0
118#define REG_SYSC 1
119#define REG_SYSS 2
120#define REG_MAX 3
121
122/* master idle / slave idle mode defined in 8.1.3.2.1 / 8.1.3.2.2 */
123#include <gnu/dts/include/dt-bindings/bus/ti-sysc.h>
123#include <dt-bindings/bus/ti-sysc.h>
124#define SYSC_IDLE_MAX 4
125
126struct sysc_reg {
127 uint64_t address;
128 uint64_t size;
129};
130
131struct clk_list {

--- 491 unchanged lines hidden ---
124#define SYSC_IDLE_MAX 4
125
126struct sysc_reg {
127 uint64_t address;
128 uint64_t size;
129};
130
131struct clk_list {

--- 491 unchanged lines hidden ---