From patchwork Tue Jul 30 16:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 13747581 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75A10187FF2; Tue, 30 Jul 2024 16:04:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722355496; cv=none; b=Eukgypvoavbs26UBgZmzdBdylQuCgVPrWvfE2m0iasty0+5wqZqB0/qk4loV3P+qiaBdy0km/R5UQDTkLLP+xOrS8AMgLUylJ/l06YYYVVsBelU+vQJf2Bx8psGQeMbIP0dQgVxrQr4Vb72k/usPwSZuljnUr76swqreCxZ+C2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722355496; c=relaxed/simple; bh=WtGnHZZ+RLi3ObKl8onh0tBYRgZkXH7SUIfhPKJ46EI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cm9C1aNpwwn7OefdyWG9jXGIiPJTQmKsA0mXjZSqqyPQcoW06FtwTPQYZZ6wmEaSY1EPFb6LYfNIKDyTJwLJVFRYjUVwu3QU11R0ATJgMNwMoEn4/XZlLeHsGESxci1D9v6SBC3xXXUqH2UOpC9Li3tyAqW1FAwGqACuk7rAz4M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=b9UOXqU4; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="b9UOXqU4" Received: by mail.gandi.net (Postfix) with ESMTPSA id 1DB8CE0008; Tue, 30 Jul 2024 16:04:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1722355486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LRcR8zDM+0q/eOEPboWIYCWFm9lgVjfqj9jKDcJMYSY=; b=b9UOXqU4LfTZ75SYSm40fqb31seam4unVrGV0CAvQj4m33r0FJP0HtHyjEaxqYOZN0IYdU 2awDUvNYIRmYj8fNKslKkz4mczFfGJ1r9cgtagmpkohgpRucEIS/ykN/E91JPWBVkrUOnF A/q2bKrLaoJx4kXRVSEgO5yTTFJ7+srI+BNl8NPpsK9fp8G9m2Xc96R3GOucADfGb0aX/P I4KgF9viHR5+raWp8cvF52LODilRKfV3Ztpx/5TV9NsTGaLVKBpo7mA5pI+WpN+AwqBmMT GDn50O6tplouHzEo/WbCanW9LE2QCSIVkSvgRmnrQ8xUZkf4nNKmiaHQrq6UGg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Tue, 30 Jul 2024 18:04:44 +0200 Subject: [PATCH RESEND v3 2/4] dt-bindings: clock: add Mobileye EyeQ6L/EyeQ6H clock indexes Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240730-mbly-clk-v3-2-4f90fad2f203@bootlin.com> References: <20240730-mbly-clk-v3-0-4f90fad2f203@bootlin.com> In-Reply-To: <20240730-mbly-clk-v3-0-4f90fad2f203@bootlin.com> To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , =?utf-8?q?Gr=C3=A9?= =?utf-8?q?gory_Clement?= , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= , Krzysztof Kozlowski X-Mailer: b4 0.14.1 X-GND-Sasl: theo.lebrun@bootlin.com Add #defines for Mobileye EyeQ6L and EyeQ6H SoC clocks. Constant prefixes are: - EQ6LC_PLL_: EyeQ6L clock PLLs - EQ6HC_SOUTH_PLL_: EyeQ6H south OLB PLLs - EQ6HC_SOUTH_DIV_: EyeQ6H south OLB divider clocks - EQ6HC_ACC_PLL_: EyeQ6H accelerator OLB PLLs Acked-by: Krzysztof Kozlowski Signed-off-by: Théo Lebrun --- include/dt-bindings/clock/mobileye,eyeq5-clk.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/include/dt-bindings/clock/mobileye,eyeq5-clk.h b/include/dt-bindings/clock/mobileye,eyeq5-clk.h index 26d8930335e4..b433c1772c28 100644 --- a/include/dt-bindings/clock/mobileye,eyeq5-clk.h +++ b/include/dt-bindings/clock/mobileye,eyeq5-clk.h @@ -19,4 +19,25 @@ #define EQ5C_DIV_OSPI 10 +#define EQ6LC_PLL_DDR 0 +#define EQ6LC_PLL_CPU 1 +#define EQ6LC_PLL_PER 2 +#define EQ6LC_PLL_VDI 3 + +#define EQ6HC_SOUTH_PLL_VDI 0 +#define EQ6HC_SOUTH_PLL_PCIE 1 +#define EQ6HC_SOUTH_PLL_PER 2 +#define EQ6HC_SOUTH_PLL_ISP 3 + +#define EQ6HC_SOUTH_DIV_EMMC 4 +#define EQ6HC_SOUTH_DIV_OSPI_REF 5 +#define EQ6HC_SOUTH_DIV_OSPI_SYS 6 +#define EQ6HC_SOUTH_DIV_TSU 7 + +#define EQ6HC_ACC_PLL_XNN 0 +#define EQ6HC_ACC_PLL_VMP 1 +#define EQ6HC_ACC_PLL_PMA 2 +#define EQ6HC_ACC_PLL_MPC 3 +#define EQ6HC_ACC_PLL_NOC 4 + #endif