From patchwork Tue Jun 20 11:41:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110442 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3600844vqr; Tue, 20 Jun 2023 04:45:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bn42YVpRvyc7zUvakQ8z3ELZAwHzBpiwAMOOcBOkp/HxqGA8UX2p4EVgXUVrtSCgvfwHd X-Received: by 2002:a17:90b:110c:b0:260:de06:f47d with SMTP id gi12-20020a17090b110c00b00260de06f47dmr151332pjb.40.1687261509509; Tue, 20 Jun 2023 04:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687261509; cv=none; d=google.com; s=arc-20160816; b=dY7mU7IdATz6cABdi4RVoONPFnBKlcHaVnMufOKnaBzZMw/1B/8t4YrSANKxLMnF/E /6APQaSOja7x27rDZN0Zp46VqHXXSmxYi1ePE/oM/RUBwepaWjCcVQhnloB+xzl6S+DG DJbgnHrIACyQI5azTWiobw2csfplA04W/3tUfwbKIlHG/NDbKQ2U9oCfCCFkiv6viHpv cySIIDKNNF3sWv2VEFXKbOHwRDhf0MFyS593HxjZc71u847cd2+kTVyfzHT7tCJ6g6Mw MDfFbM8CHq3/fP/BMq9wV5wgZUtkbdYodR1PP6Q3T90T0nxuUAvIlo0V9CignfcZnecE 3CKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=T0dcoPCLaDYQMrHuXNE7wQ+1ki8yqQNoSM6auWBUDjc=; b=Q7UJ+KYNYZ6wWcSRUMmgpOJfSUeMcAWyX2IRMUiQBC3rzX9fq7LMjQFmTP6fHfk/9I mXrRPcpOlnKhk7MZmWzxkxc2IqfwlClGxzaQFRfaDttnK9eWVWodrxF14FkFAvb236Nc dxzThKVaYH/qbecKwy93EIbpAXDGpSK2M1122gcCrn+vqOIL1cC2vwRhe8Ud/Sc0cRNI ulQen0UpS/RjD1Ej21nZEBAcJADk30JvGLqq542IKboAXcEOti3pOvYzhHb3YMKoBpop RWzVJ/HO7UZWSKCRnJofo6Q0Bxwf4hV5jZreXrbMeAsQQjii1Q9N+zirj8Z/pzP3+n1L gaeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=BkaeQa1E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a17090ad20400b0025eb0c1f787si1734963pju.163.2023.06.20.04.44.50; Tue, 20 Jun 2023 04:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=BkaeQa1E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232481AbjFTLmG (ORCPT + 99 others); Tue, 20 Jun 2023 07:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232430AbjFTLmB (ORCPT ); Tue, 20 Jun 2023 07:42:01 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12157132; Tue, 20 Jun 2023 04:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=T0dcoPCLaDYQMrHuXNE7wQ+1ki8yqQNoSM6auWBUDjc=; b=BkaeQa1E1ONMNWypH+DuEDeO2Z KZvjsR8RJ1Wym7TT0dFNjnJtdQ/uEQbsR4OzvjQSiZVDziKYDeEq6hwdVyP4xe0+9KZczlV3uGiF2 wOctPygUW7qlr33uidWKQJ19yWWiCYnmGHnY2jue/wNYRUUjoJz+Y9TZ3UxO0d3k/wdMdxClB4wPV fs3ZsGDnWywuY8nR8bd4DPfeAfkkoq239k3ZqJz8yBlEPZT+pZx0wmjeKhUCui+7/dyYFLCintVQJ w46MGcn5zZ18PZtajYjfGpRKzgCEzkajSlytKtfx10IKQtFyWU9iRwQC9JNZyBker4hFlZ9iZHI/V 8ThvNOUQ==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBZkB-000NAg-IT; Tue, 20 Jun 2023 13:41:55 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBZkB-000ATD-15; Tue, 20 Jun 2023 13:41:55 +0200 From: Sean Nyekjaer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Tue, 20 Jun 2023 13:41:34 +0200 Message-Id: <20230620114138.959812-1-sean@geanix.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26945/Tue Jun 20 09:30:24 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769221924490208067?= X-GMAIL-MSGID: =?utf-8?q?1769221924490208067?= Add another mux option for i2s pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index e86d989dd351..d79f89f37bc7 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -686,6 +686,25 @@ pins { }; }; + i2s2_pins_b: i2s2-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + i2s2_sleep_pins_b: i2s2-sleep-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + }; + }; + ltdc_pins_a: ltdc-0 { pins { pinmux = , /* LCD_CLK */