From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.142.180.65 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796245014; b=gy+ItiDzXxek9y4FYOhVoEkOLKNSA8pTJt7R/2zspbXuSrxlfZdkxkFhziS/VTQZgIb5 rG3n/Iidm8Yqhd24OxWlDznVDzAoy16euNodNvl/9jx8dF2m4ysMUQwB3hCb++gB5iM18 9dkvpsxkhncwvYy7oWCFbkCRSdBsUWeuTCVQRGiHYt8lEQ27g/yPudspr+oKHyrMyP+eg GUbzSxcEiog8U7/OApZomoJC71Fy9TpaTT3aQSC5GRan5fmjj84I8LOM5gb5qwug7n2zs OddQ3G6eQgghjqzlOAYAc3vNxQNKubGaHJblqDdaauljaNgSRRiaYD3++o908fbpe1A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796245014; h=DMARC-Filter:Received:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=1GPgBu61oGTtllOOrHkd1yk5zgeDWbXEAaDbC5o3sB8=; b=1wrHonRg4BQ7eudFbAO9SPWryyZL6eWs/vQ58M34kOPl57MQvE6vDfgLUuqSsi6LxgEE jCuhsmYXE81drDx5TSTOsyGlFLOEgcgiqF0yukuV05DPdNuO+AfhRbPDV4xxtJsPatQdk ZJ/A8GUKpi0er7QMPV5tRaiLE8//OKq0ZXZ9pjDHb/NX4uXFrtVGjxlfsVB4n/E7sf4G8 NpW2QKsfas5oRFiLa28HMJHeaaJtOqhSASjQ5m6cqAgyE91cZvB1ka0pcsmD7gbtmTGVS siH0LjtRGdipbn9rCyiT3iMLC4vc0amjksd+lf4ubmTUmgAv5f/HZuN5ePC42Zh0RTA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.remote-ip=185.142.180.65 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC09A606A335; Wed, 2 Dec 2026 20:56:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EC09A606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256:X25519MLKEM768) (Exim 4.100.1) (envelope-from ) id 1xYpmi-000000004Zp-0jXy; Wed, 02 Dec 2026 20:56:48 +0000 Date: Wed, 2 Dec 2026 20:56:44 +0000 From: Daniel Golle To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Daniel Golle , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Stephen Boyd , Brian Masney , Jerome Brunet , Kees Cook , John Crispin , Songjun Wu , Yi xin Zhu , Rahul Tanwar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Message-ID: <86ca83a8bf7adaa37e2f2cd8eaabb00739714a5a.1796234065.git.daniel@makrotopia.org> References: X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: The ASC of the Intel (now MaxLinear) Lightning Mountain SoC is matched by the driver as "intel,lgm-asc". It signals TX, RX and errors through a single interrupt and takes its frequency and gate clocks from the CGU. Add the compatible, describe its single interrupt and require the clocks for it. Signed-off-by: Daniel Golle --- .../bindings/serial/lantiq,asc.yaml | 46 +++++++++++++++---- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml index 96e8c79cb0478..1a7a6f8dfa104 100644 --- a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml +++ b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml @@ -10,21 +10,18 @@ maintainers: - John Crispin - Songjun Wu -allOf: - - $ref: /schemas/serial/serial.yaml# - properties: compatible: - const: lantiq,asc + enum: + - intel,lgm-asc + - lantiq,asc reg: maxItems: 1 interrupts: - items: - - description: TX interrupt - - description: RX interrupt - - description: Error interrupt + minItems: 1 + maxItems: 3 clocks: items: @@ -41,6 +38,29 @@ required: - reg - interrupts +allOf: + - $ref: /schemas/serial/serial.yaml# + - if: + properties: + compatible: + contains: + const: intel,lgm-asc + then: + properties: + interrupts: + items: + - description: Combined TX, RX and error interrupt + required: + - clocks + - clock-names + else: + properties: + interrupts: + items: + - description: TX interrupt + - description: RX interrupt + - description: Error interrupt + unevaluatedProperties: false examples: @@ -54,3 +74,13 @@ examples: , ; }; + - | + #include + + serial@e0a00000 { + compatible = "intel,lgm-asc"; + reg = <0xe0a00000 0x1000>; + interrupts = <128 1>; + clocks = <&cgu0 LGM_CLK_NOC4>, <&cgu0 LGM_GCLK_ASC0>; + clock-names = "freq", "asc"; + }; -- 2.56.1