mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
platform/tegra: Add in uncore_pmu module for oot
Ports over tegra23x_perf_uncore and mce modules for OOT. Bug 3583633 Change-Id: I59999db51a7ef6b47f2e9929f28505fc78844825 Signed-off-by: Eric Funsten <efunsten@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763940 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
95d8293e6c
commit
564dadea31
@@ -0,0 +1,49 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/platform/tegra/tegra23x_perf_uncore.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Device tree binding for NVIDIA Tegra23x Perf Uncore
|
||||
|
||||
maintainers:
|
||||
- Eric Funsten <efunsten@nvidia.com>
|
||||
|
||||
description: |
|
||||
The tegra23x_perf_uncore driver provides an interface to the
|
||||
scf-pmu device in order to set up PMU counters.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- nvidia,scf-pmu
|
||||
|
||||
interrupts:
|
||||
maxItems: 1
|
||||
description: |
|
||||
Specifies the interrupt for the scf-pmu device.
|
||||
|
||||
interrupt-affinity:
|
||||
maxItems: 1
|
||||
description: |
|
||||
Describes how to map the interrupt to cpu.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- interrupts
|
||||
- interrupt-affinity
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/gpio/tegra234-gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
scf-pmu {
|
||||
compatible = "nvidia,scf-pmu";
|
||||
interrupts = <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-affinity = <&cpu0_0>;
|
||||
};
|
||||
...
|
||||
Reference in New Issue
Block a user