Skip to main content

Enabling GP_MN Support for Kodiak/LeMans/Monaco/Talos Platform

Overview

This document describes the required software changes to enable GP_MN (General Purpose M/N clock) support on the Kodiak, LeMans, and Monaco platforms. On these platforms, GP_MN enablement requires updating the kernel configuration.

Kernel Configuration Update

DEFCONFIG Update

This document also captures how to enable GP_MN on the Talos platform based on the Qualcomm QCS615 SoC. For Talos, the update includes changes across the pin control driver, kernel configuration, and device tree entries.

1. GPIO Configuration Changes

File: drivers/pinctrl/qcom/pinctrl-qcs615.c

Changes

2. Kernel Configuration Update

DEFCONFIG Update

3. Device Tree Configuration

File: arch/arm64/boot/dts/qcom/talos.dtsi

TLMM Pin Configuration

Add this under the tlmm node:

GP_MN Node

Add this under the soc node:

Summary

To enable GP_MN support:

Kodiak / LeMans / Monaco

  • Enable the GP_MND clock driver in kernel configuration:

Talos (QCS615)

  1. Update the QCS615 pinctrl driver to add the gp_mn mux function and map it to gpio29.
  2. Enable the GP_MND clock driver in kernel configuration with CONFIG_QCOM_CLK_GP_MND=m.
  3. Add the required TLMM pinctrl state and GP_MN clock controller node in talos.dtsi.