mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/tegra-public-dts.git
synced 2025-12-22 17:28:39 +03:00
common: overlay: Add overlay for ReSpeaker 4Mic
Adds the ReSpeaker 4 Mic Array device-tree overlay template for the Jetson platforms. Bug 200526593 Change-Id: I74095f0684a6322424784770a03eebc6e0b2f5ea Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2301751 (cherry picked from commit 1f358a549d0bb0f6cab46e7d6ac2ec75c1a546c8) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2321795 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Viswanath L <viswanathl@nvidia.com> Reviewed-by: Asha Talambedu <atalambedu@nvidia.com> Reviewed-by: Sharad Gupta <sharadg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Asha Talambedu <atalambedu@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
fa72b8e248
commit
9341e77759
95
overlay/jetson-respeaker-4-mic-array.dtsi
Normal file
95
overlay/jetson-respeaker-4-mic-array.dtsi
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
/*
|
||||||
|
* Jetson Device-tree overlay for ReSpeaker 4 Mic Array.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
overlay-name = "ReSpeaker 4 Mic Array";
|
||||||
|
compatible = JETSON_COMPATIBLE;
|
||||||
|
|
||||||
|
fragment@0 {
|
||||||
|
target = <&hdr40_i2c1>;
|
||||||
|
__overlay__ {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
ac108_a: ac108@3b{
|
||||||
|
compatible = "x-power,ac108_0";
|
||||||
|
reg = <0x3b>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
data-protocol = <0>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fragment@1 {
|
||||||
|
target = <&tegra_sound>;
|
||||||
|
__overlay__ {
|
||||||
|
nvidia-audio-card,widgets =
|
||||||
|
"Microphone", "H40-AC Mic";
|
||||||
|
nvidia-audio-card,routing =
|
||||||
|
"H40-AC MIC1N", "H40-AC Mic",
|
||||||
|
"H40-AC MIC1P", "H40-AC Mic",
|
||||||
|
"H40-AC MIC2N", "H40-AC Mic",
|
||||||
|
"H40-AC MIC2P", "H40-AC Mic",
|
||||||
|
"H40-AC MIC3N", "H40-AC Mic",
|
||||||
|
"H40-AC MIC3P", "H40-AC Mic",
|
||||||
|
"H40-AC MIC4N", "H40-AC Mic",
|
||||||
|
"H40-AC MIC4P", "H40-AC Mic",
|
||||||
|
"H40-AC Capture", "H40-AC Mic";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fragment@2 {
|
||||||
|
target = <&hdr40_snd_link_i2s>;
|
||||||
|
__overlay__ {
|
||||||
|
link-name = "respeaker-4-mic-array";
|
||||||
|
format = "dsp_a";
|
||||||
|
bitclock-master;
|
||||||
|
frame-master;
|
||||||
|
codec {
|
||||||
|
sound-dai = <&ac108_a>;
|
||||||
|
prefix = "H40-AC";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fragment@3 {
|
||||||
|
target = <&pinmux>;
|
||||||
|
__overlay__ {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&hdr40_pinmux>;
|
||||||
|
|
||||||
|
hdr40_pinmux: header-40pin-pinmux {
|
||||||
|
pin12 {
|
||||||
|
nvidia,pins = HDR40_PIN12;
|
||||||
|
nvidia,function = HDR40_I2S;
|
||||||
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pin35 {
|
||||||
|
nvidia,pins = HDR40_PIN35;
|
||||||
|
nvidia,function = HDR40_I2S;
|
||||||
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
||||||
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pin38 {
|
||||||
|
nvidia,pins = HDR40_PIN38;
|
||||||
|
nvidia,function = HDR40_I2S;
|
||||||
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
||||||
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
||||||
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user