arch/arm64/boot/dts/renesas/white-hawk-ard-audio-da7212.dtso

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/renesas/white-hawk-ard-audio-da7212.dtso

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/renesas/white-hawk-ard-audio-da7212.dtso
Extension
.dtso
Size
4287 bytes
Lines
184
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: arch/arm64
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source for White Hawk (Single) board with ARD-AUDIO-DA7212 board
 *
 * You can find and buy "ARD-AUDIO-DA7212" at Digi-Key
 *
 *	https://www.digikey.jp/en/products/detail/ARD-AUDIO-DA7212/1564-1021-ND/5456357
 *
 * Copyright (C) 2022 Renesas Electronics Corp.
 *
 *
 * [Connection]
 *
 * White Hawk				ARD-AUDIO-DA7212
 * +----------------------------+
 * |CPU board			|
 * |				|
 * |CN40 (IO PIN HEADER)	|
 * |	AUDIO_CLKIN_V	  pin1  |<--\	+---------------+
 * |(*) GP1_25/SL_SW2_V	  pin2  |<--/	|J2		|
 * |	AUDIO_CLKOUT_V	  pin5  |<----->| pin7  MCLK	|
 * |	SSI_SCK_V	  pin9  |<----->| pin1  BCLK	|
 * |	SSI_WS_V	  pin13 |<----->| pin3  WCLK	|
 * |	SSI_SD_V	  pin15 |<----->| pin5  DATIN	| (@)
 * |				|   \-->| pin15 DATOUT	| [CAPTURE]
 * +----------------------------+	+---------------+
 * +----------------------------+
 * |Breakout board		|
 * |				|	+---------------+
 * |CN(30)34 (I2C CN)		|	|J1		|
 * |	I2C0_SCL	   pin3 |<----->| pin20 SCL	|
 * |	I2C0_SDA	   pin5 |<----->| pin18 SDA	|
 * |				|	+---------------+
 * |				|	+-----------------------+
 * |CN(300)4 (Power)	        |	|J7			|
 * |	3v3 (v)		   pin9 |<----->| pin4  / pin8  3.3v	|
 * |	GND (v)	    pin3 / pin4 |<----->| pin12 / pin14 GND	|
 * +----------------------------+	+-----------------------+
 * (*)	GP1_25/SL_SW2_V is used as TPU
 * (@)	Connect to pin5 (DATIN = playback) or pin15 (DATOUT = capture)
 * (v)	These are just sample pins. You can find many 3v3 / GND pins on
 *	White Hawk board, not only CN4. You can use other pins for it.
 *
 * [How to enable]
 *
 * You need these configs
 *
 *	CONFIG_PWM
 *	CONFIG_PWM_RENESAS_TPU
 *	CONFIG_COMMON_CLK_PWM
 *	CONFIG_SND_SOC_DA7213
 *
 * [How to use]
 *
 * 44.1kHz groups sound is available by default.
 * You need to update audio_clkin settings to switch to 48kHz groups sound.
 * see
 *	[(C) clock]
 *
 * You can use capture if you change the settings
 * see
 *	[CAPTURE]
 *
 * You need to setup Headphone
 *
 *	> amixer set "Headphone" 40%
 *	> amixer set "Headphone" on
 *	> amixer set "Mixout Left DAC Left" on
 *	> amixer set "Mixout Right DAC Right" on
 */

Annotation

Implementation Notes