From patchwork Wed Jun 21 06:33:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110802 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4161056vqr; Tue, 20 Jun 2023 23:38:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nR0GBszLjri53vD+2aMjA9mIG+xLMznFex4/WUDvfNdZMFwNOQDh7AhIJMadkY9/tWh/t X-Received: by 2002:a17:903:190:b0:1b5:1467:c4e8 with SMTP id z16-20020a170903019000b001b51467c4e8mr13522475plg.15.1687329488970; Tue, 20 Jun 2023 23:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329488; cv=none; d=google.com; s=arc-20160816; b=kGh+BDeX5abujWvHeSUKBJQuWmBlOcLbChWFuHH+sqFG+svGK5sCm0gAZRvBj6KEaB P6k7YIpnsgygqDEvlPqIllkhUNjecC9DXtUzKS8wPGhw2hjuBypw4p0Zn/dXo6m8Tok5 6+OmXvV76Sm7FbGlw12emgOPEDAwh+1BXeiaTR8XP5O6XBKDQPuL6msqQjLLSYlgQETC dV83BkR8HpTQTeco/JoY0iTfOETemrc4aU9Acm97ezwnGYqczPaMhmPnLDrBbWCsK8D0 wlz0dSmP8ndII02i0q826Hn0ZPqtcUU4NHOcQlUR0VX++h3h53Fxcqs8YUdAz7gc5400 VJ2w== 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=KN+12tb2ZwVHpYVKqFfB3w3Y/piD8ubOKF7tepriifpwnCEA0q2VwurjI9vu51/yOA P2wG5a3uj+/EsZbYUR8tM16/yms5/cUp3o3id2bwxRX5h/QNJGZrsSqIhd6xpLrRfEWg llGwJOQwXvpRCB04GwE0Qi6wWyHxggNMTYqrYX4wY7ZUZ+Y8nrLqc/J/Wr8Cv6qZ07N/ KNoG7VbC4Id9Zn66vYz6KtfW256d6f+Ujd9dcYIO9o/lEmuiysyopAjD5a/mJGBzewnp 2KBKQG9qEbmHXrh5EMEKvn3+0lMq55j74gnuMjTn2XcgRpNAxMyA09zhkV7RWZ1lzOuB GinA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=E9h898lD; 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 la14-20020a170902fa0e00b001a27afc07d9si3278749plb.146.2023.06.20.23.37.53; Tue, 20 Jun 2023 23:38:08 -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=E9h898lD; 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 S230306AbjFUGeA (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B6E10CE; Tue, 20 Jun 2023 23:33:53 -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=E9h898lDjNjzK8lBzgMNtgVZW7 Q1u8bz6YxAzXDmDK5Uk9I4+mxh96D3YqWlRCe6T4SyoWk+IfVC0rVKcxgKOTWwbcDJCqNRGRYiSte ObFhLtecXOwsv3n/nec6/6/xRSDkUkFiAdL9CihZjDeF3a/L4i9MWKO9Lm0jyOrAQUjXgU7Zo56kb /X3XESgafWZPxDJoBuOi3Yl9iHPVLVhuYUfm3w95YjiqZij0zTbzl1FGj7jrB1tocC+gxlGpIIT72 M0lReCenj3AnXFFn01nTbHoSF+zgXuyMnbw4IQyaF3HIBqfhaVKijUULZ2CD2gp/fcGTYVGxCT9ON yAYj21+g==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPa-000Mcq-6U; Wed, 21 Jun 2023 08:33:50 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPZ-0008i1-LM; Wed, 21 Jun 2023 08:33:49 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, 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 v2 1/8] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 21 Jun 2023 08:33:31 +0200 Message-Id: <20230621063339.1361073-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?1769293206676658441?= X-GMAIL-MSGID: =?utf-8?q?1769293206676658441?= 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 */ From patchwork Wed Jun 21 06:33:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4163939vqr; Tue, 20 Jun 2023 23:46:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xCCVRyGNJebKHRTDD4S4FKwJHv26tmDAs9LqR3cfEzr93wh0FOHhYEE8I/VY8iEoSLxjA X-Received: by 2002:a17:902:c1c6:b0:1b3:d4ae:7e21 with SMTP id c6-20020a170902c1c600b001b3d4ae7e21mr4690629plc.63.1687329981893; Tue, 20 Jun 2023 23:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329981; cv=none; d=google.com; s=arc-20160816; b=vhI+uICGao04iJHpmZV6L2C5JW2IYgA4tTQWfSp5akcsDa0T4/a44tjLDTrNHtf7hv yEKWX6L4bdn1OGT4IKbDPDhxjd56wvnMR2A9+4VIQoVGVB0xDjJJsfNtW1IHcX19HhuA pVVBsOVtTs2f+Na+kZVs7QmFKOfJnKE8Tkd1W6GYNuJFGRXwtR25Er8XqPFP33roIpzF fbQDIqXquf7aaJplA3BA0FIbvv/uJalY1vxFRFwHf74JH2rWdL5IH+gLndR4Tdlak1+H Lsu2OnEW+k7nuWw+0VT+WzcHlEOH2cRshvLat6if+LJQPNGUufqkyqg25N0zVb+0GcJs oGVQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2CrDY7R+Zqndz7jiijGinHpgv4VdmR4fNUdaajMT4/0=; b=0S3SRyRyfeVZm9c1lekOpPRZWEf/x5187TSz/x9IaoxBLohXAKyf3Ba18dDTQhJ9VG mTsEPkRx5bi8VmwU/JgB5UcqslMGTsv+T2tERpCBXzbW52FcxJxI7ddSQSVMp+0t7iDu U0+vW8AS9JKOqM6u9HD4HH6UTecM9V9YWD1HZnhRcuMNPiDTVh33kpZrd5upW4MtDXlY uplyRawtSOoYxoL0uMZ4v/oBe6F/klZsyaUbRn7+hiYxjMQbitUulR7x40buWBdqYCx2 4J7xvCnQSw3fFD6+YalPtHhWHK1kw5cQXtWQQ0o0YMP9EtqJVTEEK1yj0sx7SjXPEfbU /VTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=YzirQapa; 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 w15-20020a170902a70f00b001b1a2bf5275si3450980plq.74.2023.06.20.23.46.08; Tue, 20 Jun 2023 23:46:21 -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=YzirQapa; 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 S230332AbjFUGeG (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2D6E10D5; Tue, 20 Jun 2023 23:33:53 -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:References: In-Reply-To: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; bh=2CrDY7R+Zqndz7jiijGinHpgv4VdmR4fNUdaajMT4/0=; b=YzirQapaEBcwUEGqksc279sAZg hlI2WIqWdigyPJsBP25Yt+6ilDyGd4GCtjpY/R6Z9/5huk5nDuyTcBP9FvkJ6UV9xjDF190hdHT17 k1za3codVCjPJB1GzpVJdpbAbwZSCOEke8FQrfwbUmWqjbgsQgq9FFuXhdZe3os4uZ0c4rVMqx21W jl8rdEhQwRlis8TxdgKH9U4CfZ72YokELRWfPBAxN1c8SRtiv4wyVzDK2mcdjt9a7HwQSRdBEBm+S VRIyj1WHYZUt0lpDDBoQlna3oZsuaAMD/tK9YpJYZosqwe4H0ki+tJA9u0dzMoXEUsEkGY8xysmPW xiKlXWFQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPb-000Mcx-2Y; Wed, 21 Jun 2023 08:33:51 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPa-0008i1-G3; Wed, 21 Jun 2023 08:33:50 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, 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 v2 2/8] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 21 Jun 2023 08:33:32 +0200 Message-Id: <20230621063339.1361073-2-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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,UPPERCASE_50_75,URIBL_BLOCKED autolearn=no 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?1769293722694727683?= X-GMAIL-MSGID: =?utf-8?q?1769293722694727683?= Add another mux option for ltdc 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 | 75 ++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index d79f89f37bc7..422db6dd466c 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -979,6 +979,81 @@ pins { }; }; + ltdc_pins_e: ltdc-4 { + pins1 { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + ; /* LTDC_HSYNC */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + + pins2 { + pinmux = ; /* LTDC_CLK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + ltdc_sleep_pins_e: ltdc-sleep-4 { + pins { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + , /* LTDC_HSYNC */ + ; /* LTDC_CLK */ + }; + }; + mco1_pins_a: mco1-0 { pins { pinmux = ; /* MCO1 */ From patchwork Wed Jun 21 06:33:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4160939vqr; Tue, 20 Jun 2023 23:37:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5vZ1QUj1TuJ9faecumC2ibN+iksS4KRR4gLemXpIxwNxkgwJOyJCQPND8aVhSDL7iad/KQ X-Received: by 2002:a05:6a20:3952:b0:122:7245:80aa with SMTP id r18-20020a056a20395200b00122724580aamr4581467pzg.42.1687329474815; Tue, 20 Jun 2023 23:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329474; cv=none; d=google.com; s=arc-20160816; b=AL2lUnToZrp1tiyUByCLku7ZN2GXCbRrl6TUMifi1x0SaUZCPDVQ0pCchT4nY+abqa M90Lg8dCQFXzBOK0p27TMdiH6i3NVCpqIdzKzuTR07ehzkemtEG6YClh6vLstvW+jwJF xiAfsCp94kV6v7rACIBPNf/p571Yr4dL5kMMWn6HWGSGFGzP6PPmf8wvsvLH07tm5iFd WTZt6EKe2pfqykI2/Bb8BekWGUDCrcvU+ntRWb6dAX/MoOVNqHhXjQj5xhppl5CT3IjP TBhB0lrCU+U6mpIHlEp40zRHK7XpQGgRTSmLin4XDApgmVX0SHuqKqlHQn3TLym75Myc OMSQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ETuoPNFbYDBI7fybUMHgGYzgRtPKhUhC6h+ea+XxCXA=; b=vftkq//reCUOb/Ysar3RVNri7e8MaQrFUq8j/2jG93xGeWbq9jwCm61DSzfcIV0vsZ +YptXvJhfJsDBuC1ubAF3W+aADk/TNpzj2Gdlm2EhYDSJLawYjPGfWYgURp25BDyQei8 LnLmB9KDypKrfF5DU6EZWXXJAEKAdI7nO9OWrsjwE1VPWAJEOZA5Nr8LVUiRDIwzNp/q hr7GeLUdt7zelwwulK0x/tv89eBBVF7VyK3Pe1tmTnUgCyK6k3M139610dieyfzD5P0x So7lTOvRRL/la75zMzC8INJ0zs9I004UlsW5+TEXriPOSeHRK9To2pHS0cey92LCBU1r RLnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=Obo+NsKV; 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 t20-20020aa79474000000b0065b4e2b52c5si3324697pfq.196.2023.06.20.23.37.41; Tue, 20 Jun 2023 23:37:54 -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=Obo+NsKV; 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 S230097AbjFUGd5 (ORCPT + 99 others); Wed, 21 Jun 2023 02:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20A41A3; Tue, 20 Jun 2023 23:33:53 -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:References: In-Reply-To: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; bh=ETuoPNFbYDBI7fybUMHgGYzgRtPKhUhC6h+ea+XxCXA=; b=Obo+NsKVt9QB5IN7gO9vx2vQKj ntSLMDayhOUexrk4XcNn0IvdDj2xDDNYcEOuvJTO6gRXi8P7TesIGOHD+7quSpWRm6i2kioORHYu+ otTfmmDsHlZFH2Uz1eJIBMepwjG+NPW3LfyIgTNQcKQkou4a+FeB8yGKymQdR2vcTfaFmYE3kD+MR t/3/8RGnIjSPOAWRWP24g8h60TzNPBzVstno+4J35ZUFJvyTDThq6kLwQqj+OhK9OHI7mCMvzid5o b8/UVOLBVs7mVQDN1aR6fTftRqEbx/POkcuL0p4vVpqnlm+rsslVpM1sT3F+4CgGYhRGBeX2Itl6Z FOAXWlpw==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPb-000Md5-TH; Wed, 21 Jun 2023 08:33:51 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPb-0008i1-AG; Wed, 21 Jun 2023 08:33:51 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, 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 v2 3/8] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 21 Jun 2023 08:33:33 +0200 Message-Id: <20230621063339.1361073-3-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769293191135629865?= X-GMAIL-MSGID: =?utf-8?q?1769293191135629865?= Add another mux option for can 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 422db6dd466c..537908a20efb 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1144,6 +1144,26 @@ pins { }; }; + m_can1_pins_d: m-can1-3 { + pins1 { + pinmux = ; /* CAN1_TX */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-disable; + }; + }; + + m_can1_sleep_pins_d: m_can1-sleep-3 { + pins { + pinmux = , /* CAN1_TX */ + ; /* CAN1_RX */ + }; + }; + m_can2_pins_a: m-can2-0 { pins1 { pinmux = ; /* CAN2_TX */ From patchwork Wed Jun 21 06:33: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: 110820 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4170981vqr; Wed, 21 Jun 2023 00:04:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BSAKx/2RJMDN2+lYQPc2x9TyR9ssTTLRPkbVrg33iqbhWa0Az//6TiYLtyXlaDDhx7/aB X-Received: by 2002:a17:902:d2d2:b0:1b6:89bf:4db7 with SMTP id n18-20020a170902d2d200b001b689bf4db7mr2781296plc.69.1687331045757; Wed, 21 Jun 2023 00:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687331045; cv=none; d=google.com; s=arc-20160816; b=tvmO0Dnwfl3KsCuLMGBEGFKkjIQZdAXJrLdVjB53zGAfdvXKXCPG98j+rSiiH+orF4 +skcmxjO30Qq1erMRzDzrEB0EbvM5cvuenv+DS6n93QNpSPae0K/V2/JTGZJYuyKn5Ra tzvAFOO3Sa7SaVCRaZb/oyBy7sefmVTkfbxWpzPZDJgocGLRN7XSZtQJYwE1VyJEORmw HfC58UW0mF+QdWY7DYckH3tY06lwtjTOF2G0C6NpPM7jdsMKb+ssfAj+a0ttO6u6e+oK ZTPMtR9O9RgMPGmpXNmcIKtiWCi7pyLXZtBpOwjZLL7KbXkxGVc4tpTAZeWZ/ep0fobh hlog== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yv++Yf2ZbIGL3PF2oiPv+AG+uNMkGKrSh2PCdGHPRfk=; b=dlr9e0p9VV4XOyNg5VvNJHddCAbUAqLfpQBRTESBMr68CQi3CX4zpGsTyKdbPDYk93 RUSdeUYtRYjH1jWjAD2V8V72wDKZ1A+I+f29CF31Vk4o5VToHqHA2EugR9FnIsR+EqAz qIhjGTha/5CAuArW6oUtMK3a7yvDFp8jS7+5XEc9+aAGpZigtKrP9DZ7eVuTelQl1XcW lx+Pflat/6l7uK35x1e2KU2sg5W0MIqokmMNO3E2CuaA0BJnq/Fbds0bKxzs8VMmeW1J ctIas6EpnYZjSMOmy31/KLLUSNcI+RcDpPdxR+xi47mtylOQyDSUs3DEXXuizh6dsdyN jXrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=U9PpIuwY; 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 o6-20020a170902d4c600b001b25e9a76d5si3823027plg.625.2023.06.21.00.03.51; Wed, 21 Jun 2023 00:04:05 -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=U9PpIuwY; 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 S230252AbjFUGeD (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6133E10DB; Tue, 20 Jun 2023 23:33:54 -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:References: In-Reply-To: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; bh=yv++Yf2ZbIGL3PF2oiPv+AG+uNMkGKrSh2PCdGHPRfk=; b=U9PpIuwYivPyeZkZkAWTfmRv9I WBTLF4fGFH8wfdaRNRL4ROOoYzAwP9U8ORxtyQnIn2mcS0oPcmCZlcGsr85APJhh9ggdG7raq30vC QwJPXhKgxXMtvUkuZ7Cd1pK+moQqo5LPgkwVA5jD8JnbXdHjmYIsgiXSAxl4XQfK3qEKr+TvfrBIg 311OSpjhqxcTHZ0FktdUfEi49yEDNjojT87HLhWO58Js/6QhNV8iqnjVx0LozPGEZEoX1fg32yeTg C8/HsP9M7j86ynIge+ahhC76wgmR4zb2sqOR2M+h8OMfORQxN6yf5vvrQ4i2RAbBxHHJWj/gyLCQ0 j+VzJruQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPc-000MdK-N2; Wed, 21 Jun 2023 08:33:52 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPc-0008i1-3E; Wed, 21 Jun 2023 08:33:52 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/8] ARM: dts: stm32: osd32: fix ldo1 not required to be always-on Date: Wed, 21 Jun 2023 08:33:34 +0200 Message-Id: <20230621063339.1361073-4-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769294838485444297?= X-GMAIL-MSGID: =?utf-8?q?1769294838485444297?= According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo1 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi index a43965c86fe8..eb43a1e3a0c9 100644 --- a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi @@ -117,9 +117,7 @@ v1v8_audio: ldo1 { regulator-name = "v1v8_audio"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - regulator-always-on; interrupts = ; - }; v3v3_hdmi: ldo2 { From patchwork Wed Jun 21 06:33:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110817 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4165412vqr; Tue, 20 Jun 2023 23:50:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53CMNhfbEmnFhUltm2QIjXSyhF+A4xLLFaFO5kRQzmodsqwjOUduvfRbIMWpax6PBGAGkF X-Received: by 2002:a05:6214:260f:b0:628:6ed3:109f with SMTP id gu15-20020a056214260f00b006286ed3109fmr17125044qvb.27.1687330249062; Tue, 20 Jun 2023 23:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687330249; cv=none; d=google.com; s=arc-20160816; b=gmCnLjDQehw4YPZTx2D1VGH8bhrp5QOMgGZkXqdeMZQj5SIBDe1d61tJrnvGMjlDpz O85aoIABTZYx2NW9O9FN3GDJvgWIXlYP9eV9EXItm0Oj7BsCvDvWwS1XiMfQk6kLi0MY 2k3BvhxkuAriNclR21fFO1Mir92Kt8eqTYOZ2IH/QkJOukpqa2hT6XADkYGNNYAXmPRc PqTbJWwq0KyaMDjcFMZIdzgx4aEFv0PrrjXoUhz6x3RKoKERY0lq1NB3dMzoozjzCsS2 gjV4QJUPsqI7rFZ+rHq0SK3k44LlY9YkMx8FIE8KRJ60rR2w7dhqCDTi4ze8F30hCGX0 t4Dw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ay+qmBA/PXjKC6poUaYsFfPqOZlKKsgO2YKtMPT1Imo=; b=Vco/iKI563J1BWbrcrEJG09leMQyGQPdzHnZx0jw9BMW7KVUDyLooFLZzXRS5i+H+L zWwyWvOdQ5w6ghomlFqVIN07sTkfbJvxIdw1UiBvdsec6axDxXf0pEZIOzb3ApYGqQvu OOnj4UnXtGPLLfn4QfFkUEnVc2AxZ5NNpTMZTQs8111EMGvEjZPjsvsYUT4NJzKhrGmq fXrO7cbuExOVcXPSfw5lOMIoxeK9GOYwp02PxkpJoOtEzXzjUFD1nMKDqUDPFSZ9o0lY oJYgKHv14NeU7CSgzSdP1AxKKGxxoILWMNtoMjt7+E22p2+AuEC1SaYlUckQ5kcphSp1 EVdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=JljbXDmq; 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 t64-20020a638143000000b0055070c6da5bsi3390822pgd.670.2023.06.20.23.50.34; Tue, 20 Jun 2023 23:50:48 -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=JljbXDmq; 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 S230342AbjFUGeJ (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbjFUGd4 (ORCPT ); Wed, 21 Jun 2023 02:33:56 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3619010F1; Tue, 20 Jun 2023 23:33:55 -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:References: In-Reply-To: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; bh=ay+qmBA/PXjKC6poUaYsFfPqOZlKKsgO2YKtMPT1Imo=; b=JljbXDmq9kYSuIZSDdRB8C+ZkA Q5cqBvIhTJrbdr5Pz3SvAWcRNr6CsN2Js2qHaGpdYm6BIQS9ek7+78+N4YzSI+2MfbKhGBUPXZJBq 9j+TAEVhedWS5O97goOJ82FIM4EePU+nm+8qN2tYucph+SSHaMZholn7Kw4sjSFw/nudlMivXQvmd vOKOPeK3lpUfLmMnbTYuE8UtEn9NXMDtGdbu8lfmfB6xYrZ7bRmHHHdWelB3bZ2jPAxaiAnL6+ntl tQPUaLdJT1KSRO8Nn6K5eckuUGm5Mi+c4j8ORL2X5sAnMJfcRxjtmjy4+nPkCC6x0H9mpoPojUom+ zotp9B1w==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPd-000MdO-Fm; Wed, 21 Jun 2023 08:33:53 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPc-0008i1-T1; Wed, 21 Jun 2023 08:33:52 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/8] ARM: dts: stm32: osd32: fix ldo2 not required to be always-on Date: Wed, 21 Jun 2023 08:33:35 +0200 Message-Id: <20230621063339.1361073-5-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769294003200522462?= X-GMAIL-MSGID: =?utf-8?q?1769294003200522462?= According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo2 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi index eb43a1e3a0c9..902ca6c23533 100644 --- a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi @@ -124,9 +124,7 @@ v3v3_hdmi: ldo2 { regulator-name = "v3v3_hdmi"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - regulator-always-on; interrupts = ; - }; vtt_ddr: ldo3 { From patchwork Wed Jun 21 06:33:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110808 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4163343vqr; Tue, 20 Jun 2023 23:44:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ETaYI7Dp/v7sRyGzTTbrRqLrN8rvhh2+ubjQv9AGeSdoNYgu9jRF3zu/FILZksGX1bfYS X-Received: by 2002:a05:6a00:1482:b0:65e:ec60:b019 with SMTP id v2-20020a056a00148200b0065eec60b019mr11849154pfu.25.1687329872956; Tue, 20 Jun 2023 23:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329872; cv=none; d=google.com; s=arc-20160816; b=0gxv91pTHfZ8hThsn/PUoZra+jpLMGpIGCgVN5CSR2EC8L9kTfPNzCVBzjNcFQtd4U +udT0ZsLhQPDAp/jUpdUOPuP0UAhdXV9ewfZLpQWakgXaC5c9mgt+QrrJhxzjYxIdC/I zSWhcZ6riJNlUV6nk1xVNbgWeLc+s/hOVr6VM+Tayk01FDbCmUdp/FvWfDhLL9KhlM7E gjGK71JO1a/5L8wYavNUda1lac6l/25UOM80HBxUeCPUWy5dIGExpd3sZBQs4e1oja+e ThTKJIf3cKi3YKHfiLftjPV8Ik/NOBKpJ8Kaj2xJAHhTefOcLafPXe4xT0r2cpV9IPKK Dbcg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=89sBX6BFnrx7cYuFn2HT+ikMXvzTI/DIlvCjU6nTMwM=; b=VdUW1Bla734lP4iAfAnwFxA+pJsDuu4DFi+1oA9aCibfG3I5CUre3WLpxncfZ+HLje pPyJS+l43cKrLHQ4o17aGDB0Z+eLQJs7ba1Su93bAzSutUI/vJAgu9/LD779xpzOPJEh bSk6cP+dwe7rt+ftKmAgZFAYQ9M/n/sV35YVAbxYvdN0dMyVKJJEqehTyBI7e59HyhbW J4aJAgjiQKxQIlDHu310+QIMPkKZavGWZnTxXxugsqJCv9eGbKtFTsazJj9xHvSRrYH6 gMIsp6DCJlSNPsfW//wC1e+QNesNaY0PeGoXTDrQojCFlbTgj4vYh3ZqLsIpJIZeNp0e PCGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=TmV1hWoq; 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 q188-20020a632ac5000000b00543e3449f28si3388920pgq.616.2023.06.20.23.44.19; Tue, 20 Jun 2023 23:44:32 -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=TmV1hWoq; 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 S230351AbjFUGeN (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbjFUGd5 (ORCPT ); Wed, 21 Jun 2023 02:33:57 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62C331A3; Tue, 20 Jun 2023 23:33:56 -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:References: In-Reply-To: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; bh=89sBX6BFnrx7cYuFn2HT+ikMXvzTI/DIlvCjU6nTMwM=; b=TmV1hWoqE7As63kJDx/ALZjgyu FS/iIWq0zJ9199h6hvFOcpAfLIWz/v5y7btlHiAsPv3VLKUQAvQSoGAFT+WfKyX2rZCLo/GfDft/o LjrYfZ86fvdQ8niTBKwXW3t9DDlEQ3OkFaI2mKTMw2eZws6BL07ddk0Ixvr5TgFIDQBMPIxb4Pps+ VPHH8DQAZ2Awf+D6dHyGDokI1naIhSO31EZVu61h9RBvff8QpAJ5KVPjJjyq5oV/GgGM+K0ZU66bI vBIMJZEWhpHA+R0s3lWrSzv4GALTIApGjP1ZHCk1q24EU6z+YYdtKZdry0x7c0zMwRePM8kbPhKT2 kjLE7a/w==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPe-000MdU-Gt; Wed, 21 Jun 2023 08:33:54 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPd-0008i1-MM; Wed, 21 Jun 2023 08:33:53 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/8] ARM: dts: stm32: osd32: fix ldo6 not required to be always-on Date: Wed, 21 Jun 2023 08:33:36 +0200 Message-Id: <20230621063339.1361073-6-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769293609133014643?= X-GMAIL-MSGID: =?utf-8?q?1769293609133014643?= According to the OSD32MP1 Power System overview[1] there is no hard requirement for the ldo6 to be always-on. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/stm32mp15xx-osd32.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi index 902ca6c23533..aeb71c41a734 100644 --- a/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-osd32.dtsi @@ -152,9 +152,7 @@ v1v2_hdmi: ldo6 { regulator-name = "v1v2_hdmi"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; - regulator-always-on; interrupts = ; - }; vref_ddr: vref_ddr { From patchwork Wed Jun 21 06:33:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110812 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4163699vqr; Tue, 20 Jun 2023 23:45:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QyvgtJAQslB/bNty4BR/dRxMt/wcjyrvuXh1m5HL5bj8rlWqGuqZFW4gC05nnyxCQH7L7 X-Received: by 2002:a17:903:2284:b0:1b6:66f1:35b3 with SMTP id b4-20020a170903228400b001b666f135b3mr8283333plh.50.1687329938217; Tue, 20 Jun 2023 23:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329938; cv=none; d=google.com; s=arc-20160816; b=oaTsmvhVmgEvvMvlVQUyaVxcAotj0nIm3RBLdB9KNObv1PT6ibKJIiqoSfRis/oTAV eQg1FnV/210A0KtWQx3ShRritnDqYiX9zCDhD+efiQ0v8AjmosNxNW03omO/ORl8R3Sh +UhA8QDrO2ryMmLysvsV9dI3XwLqkOPsM9kaQbVlsor3Z1/wioKJxZaR6vwy1IZaZYU9 VU44OGQ/Qe2RfSOGcnYM8DtombTQzi5XnmbavD3X317Wnz7FVUepijOwBENThaAEVv+p ws2IQSRYkU0a3wjM3kw5Wfi6uiaomGbHYQaSALSLTZ9zSBSYr4Ra4bIBWomg7dzSzHsq Az/g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4VOK7DbRONHBrk2qH/bZ3tJ1RkaOOLIfT9l5aIDojGQ=; b=VNZ1HqssdmcMrmOPbq26hCIA785filCj8UZUctXEih7HFsH8gwG3Cgt+y4YxdnQKc5 BMt4qima/OTy6AFYeSA+B9/qdkx+vuKnTK/+wgrKSs0aEbAJQiofrBAyBtUS+n4d3TSZ QiJI1e1PTBxnJWRpbhh8bhQ648i8cIrjua9vCzvgA8FKXZ6FZlwHL7MMDg2vJKcs+W8K nq6+IkSNlJk/2DUB2gz0svSHS9FzYqP/ohXlZR0C1cfIl6xGlu6ZnCPfPjFo+wOv8SfK VbQsLMlGpDy2CnvicfLbfQXcwCasl9JTo4UrPw5eFR74eoEokboB9766iiiQdYRL0JlW sQ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b="Fip/siLD"; 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 s5-20020a170903214500b001afe7ef68b6si3237351ple.452.2023.06.20.23.45.25; Tue, 20 Jun 2023 23:45:38 -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="Fip/siLD"; 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 S230361AbjFUGeV (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjFUGd5 (ORCPT ); Wed, 21 Jun 2023 02:33:57 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD75E10CE; Tue, 20 Jun 2023 23:33:56 -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:References: In-Reply-To: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; bh=4VOK7DbRONHBrk2qH/bZ3tJ1RkaOOLIfT9l5aIDojGQ=; b=Fip/siLDGW1yKysPmHmLu5kghR 0j2eBehSajEkFsB60bwx4Gv22DCp4pkQY6hoAUaFGjl6SETJfIWTp6lZAPWYKO/sB2gwka7TgDOav 8a29sSPN1rqa1Uu6vAWCp3/O1tO1PlNKi7f/zIxqb1feaGMkteoa4Qrh97/6K7cxbjPOZTqeiLS/C 4tas14qeCxY2Ds/CpNZPOPnqsX3z0lTXEGzCiDRg5fPHOZwV1fQalXi/5swbfAMjTHhsRniDi7l5j K6r5Af/AEOP23wJdepFXGkSStIJI+F9K6lrWItbmH1UOxRT9u5MvBydILZDd8buQp+oChUMUkl0U4 /+K+zQMA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPf-000MdV-0l; Wed, 21 Jun 2023 08:33:55 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPe-0008i1-C0; Wed, 21 Jun 2023 08:33:54 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 7/8] dt-bindings: arm: stm32: add extra SiP compatible for oct,stm32mp157c-osd32-red Date: Wed, 21 Jun 2023 08:33:37 +0200 Message-Id: <20230621063339.1361073-7-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769293677175080583?= X-GMAIL-MSGID: =?utf-8?q?1769293677175080583?= Add binding support for the Octavo OSD32MP1-RED development board. General features: - STM32MP157C - 512MB DDR3 - CAN-FD - HDMI - USB-C OTG - UART Signed-off-by: Sean Nyekjaer Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml index 13e34241145b..55e45db1af26 100644 --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml @@ -143,7 +143,8 @@ properties: - description: Octavo OSD32MP15x System-in-Package based boards items: - enum: - - lxa,stm32mp157c-mc1 # Linux Automation MC-1 + - lxa,stm32mp157c-mc1 # Linux Automation MC-1 + - oct,stm32mp157c-osd32-red # Octavo OSD32MP1 RED board - const: oct,stm32mp15xx-osd32 - enum: - st,stm32mp157 From patchwork Wed Jun 21 06:33:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110811 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4163668vqr; Tue, 20 Jun 2023 23:45:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ76pH8E896dL4cfj1oMPZHuJQFElnyaBY+BjD7Ya8chkkqLqEF070ojoh7UmHRWo0fhcXSG X-Received: by 2002:a05:6a21:328d:b0:121:faac:2442 with SMTP id yt13-20020a056a21328d00b00121faac2442mr6046281pzb.47.1687329931289; Tue, 20 Jun 2023 23:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329931; cv=none; d=google.com; s=arc-20160816; b=U+9Aisgfc3qTxliGKm7vZQyG97LrDxOxpYX4o798NyigEgnLdwkDGmU1rx3iDthreW mtXL6ZQJKqjm2Y1SOTqSxjdz++o1hsEclg6VcvfqavnFiMZatIvf/4LjjUd6+ihtWwH0 7MfKTEoaka4pbIl84auiVyHv4x7WyWBQqOypkKTqwQq9ARNQbn9t18QSYQphzgcsNHDs 3iawuGaPYAKeur81WsmdbNBB9eISDr0lJS6tQ9+EUQ4d0/8Q0mNfCwd9VofBL2AEou0K dXaa4tMN8RC9gjQ9hF03UMIA1rthZMefVWaiZAj78HMmv8EllhMC55OXfuft1FwgkH8F niEg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pVH1Ck06A4t0qOQew3VyKpWoIY3LnSAdioWrCNMUagY=; b=S2352FZ2OHV4wFO3S+Fdbut9HWaXv12RdrSoeHoa18YfnXlYquDVa8GXFWaHKLTioh CunB91WrqcjXr1yzbg0Sn47L/MB60ElsJrv0UaozE+/UXzXk7pTcwsgRl8ALWVhVNTDo o6lgCOpTc6VDf9uXl2enN5RpsJb46ZrkyEMvagztyGxKlpQ485lvwwQV+HGOVSgRedoz y2ouhsnqAsxf2LWRs37vL/HtgF8853e3EEFFGgmSSGITALNBkZCCpMB9dW1NJ1VIEXI0 MyUa5gohRHMdobqUitVWeV4P4g4MxHbwgpNNB9yZhg8jOwwTvgIgCyuVGyz+4ZSLytgi +7uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=tAionVUb; 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 z12-20020aa79e4c000000b006430bec8238si861061pfq.328.2023.06.20.23.45.18; Tue, 20 Jun 2023 23:45:31 -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=tAionVUb; 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 S230365AbjFUGeX (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbjFUGd7 (ORCPT ); Wed, 21 Jun 2023 02:33:59 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF79B1A3; Tue, 20 Jun 2023 23:33:57 -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:References: In-Reply-To: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; bh=pVH1Ck06A4t0qOQew3VyKpWoIY3LnSAdioWrCNMUagY=; b=tAionVUbHAFrIMTfDt6IBAbRCn 3lFxXR0MT12r7H3vBJsMbSUbeGcgcAJgWF4ztwSin1tNMjplN9va541EVZy+8Jh8qkPJwWSYKetI/ gXTZmZU1/1RurrCmIsqZlOFNz1j2EdfTYmMrK6SBUXPohwacqzR3JddC0A6u/zqRTnusEHkO7ooY0 Fz+1WP7d0zIYFBILneFA5fP1x3OdsF6WPZmzvRLL0Hv9ZxadG+5oISKPtAZEa6YfELKraDYqt25yA IaPw17TrMof5KXzJNJ+8QJ5Qkj8mInoXFFXbXF/IjV6HHfcBXJxmpwldwq8bXKWQZ33FmLCFCLPP/ PWBrKgAQ==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBrPg-000Mdg-1W; Wed, 21 Jun 2023 08:33:56 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBrPf-0008i1-D8; Wed, 21 Jun 2023 08:33:55 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, 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 v2 8/8] ARM: dts: stm32: Add Octavo OSD32MP1-RED board Date: Wed, 21 Jun 2023 08:33:38 +0200 Message-Id: <20230621063339.1361073-8-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230621063339.1361073-1-sean@geanix.com> References: <20230621063339.1361073-1-sean@geanix.com> 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?1769293670133608382?= X-GMAIL-MSGID: =?utf-8?q?1769293670133608382?= Add support for the Octavo OSD32MP1-RED development board. General features: - STM32MP157C - 512MB DDR3 - CAN-FD - HDMI - USB-C OTG - UART Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- Changes since v1: - Fixed comments from Ahmad .../arm/boot/dts/stm32mp157c-osd32mp1-red.dts | 226 ++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts diff --git a/arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts new file mode 100644 index 000000000000..f840b7faf02a --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts @@ -0,0 +1,226 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) Geanix ApS 2023 - All Rights Reserved + * Author: Sean Nyekjaer + */ + +/dts-v1/; + +#include "stm32mp157.dtsi" +#include "stm32mp15xc.dtsi" +#include "stm32mp15xx-osd32.dtsi" +#include "stm32mp15xxac-pinctrl.dtsi" + +#include +#include + +/ { + model = "Octavo OSD32MP1 RED board"; + compatible = "oct,stm32mp157c-osd32-red", "oct,stm32mp15xx-osd32", "st,stm32mp157"; + + aliases { + serial0 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + led-controller-0 { + compatible = "gpio-leds"; + + led-0 { + label = "heartbeat"; + gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; +}; + +ðernet0 { + status = "okay"; + pinctrl-0 = <ðernet0_rgmii_pins_a>; + pinctrl-1 = <ðernet0_rgmii_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + phy-mode = "rgmii-id"; + max-speed = <1000>; + phy-handle = <&phy0>; + st,eth-clk-sel; + + mdio0 { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@3 { + reg = <3>; + }; + }; +}; + + +&i2s2 { + clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc CK_PER>, <&rcc PLL3_R>; + clock-names = "pclk", "i2sclk", "x8k", "x11k"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2s2_pins_b>; + pinctrl-1 = <&i2s2_sleep_pins_b>; + status = "okay"; + + i2s2_port: port { + i2s2_endpoint: endpoint { + remote-endpoint = <&sii9022_tx_endpoint>; + format = "i2s"; + mclk-fs = <256>; + }; + }; +}; + +&iwdg2 { + timeout-sec = <32>; + status = "okay"; +}; + +&pwr_regulators { + vdd-supply = <&vdd>; + vdd_3v3_usbfs-supply = <&vdd_usb>; +}; + +<dc { + status = "okay"; + + port { + ltdc_ep0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&sii9022_in>; + }; + }; +}; + +&i2c1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c1_pins_a>; + pinctrl-1 = <&i2c1_sleep_pins_a>; + status = "okay"; + i2c-scl-rising-time-ns = <100>; + i2c-scl-falling-time-ns = <7>; + /delete-property/dmas; + /delete-property/dma-names; + + hdmi-transmitter@39 { + compatible = "sil,sii9022"; + reg = <0x39>; + reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + interrupt-parent = <&gpiog>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <<dc_pins_e>; + pinctrl-1 = <<dc_sleep_pins_e>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + sii9022_in: endpoint { + remote-endpoint = <<dc_ep0_out>; + }; + }; + + port@1 { + reg = <1>; + sii9022_tx_endpoint: endpoint { + remote-endpoint = <&i2s2_endpoint>; + }; + }; + }; + }; +}; + +&sdmmc1 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; + cd-gpios = <&gpioe 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + disable-wp; + st,neg-edge; + bus-width = <4>; + vmmc-supply = <&v3v3>; + status = "okay"; +}; + +&sdmmc2 { + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_d>; + pinctrl-1 = <&sdmmc2_b4_od_pins_a>; + pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_d>; + non-removable; + no-sd; + no-sdio; + st,neg-edge; + bus-width = <8>; + vmmc-supply = <&v3v3>; + vqmmc-supply = <&vdd>; + mmc-ddr-3_3v; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default", "sleep", "idle"; + pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; + /delete-property/dmas; + /delete-property/dma-names; + status = "okay"; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_d>; + pinctrl-1 = <&m_can1_sleep_pins_d>; + status = "okay"; +}; + +&usbh_ehci { + phys = <&usbphyc_port0>; + phy-names = "usb"; + status = "okay"; +}; + +&usbh_ohci { + phys = <&usbphyc_port0>; + phy-names = "usb"; + status = "okay"; +}; + +&usbotg_hs { + vbus-supply = <&vbus_otg>; +}; + +&usbphyc { + status = "okay"; +}; + +&usbphyc_port0 { + phy-supply = <&vdd_usb>; +}; + +&usbphyc_port1 { + phy-supply = <&vdd_usb>; +}; + +&rtc { + status = "okay"; +}; + +&crc1 { + status = "okay"; +}; + +&dts { + status = "okay"; +};