From patchwork Wed Jul 12 06:29:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949043vqm; Tue, 11 Jul 2023 23:42:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9ya0xwy7GUPAUHWzNXzLVBd1R1sB8L46PRX9jFhqxEULdHS7g9yyXip73jIB5ht0bwkL0 X-Received: by 2002:a05:6358:88b:b0:133:8a9:b354 with SMTP id m11-20020a056358088b00b0013308a9b354mr20029992rwj.1.1689144169430; Tue, 11 Jul 2023 23:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144169; cv=none; d=google.com; s=arc-20160816; b=VDs2TWGea4OzdUqTcttpxz8G30WCAA0EQ+kXfL0YFih+CLYiL/YhRLOk7xFNiFm/9U QAVNIt3D1bgW4JCJEQqYXMwSGTq8xdmHzUAxAGrpQwGn3xooo9LRGyvipsbQVU++zA1e PNqXKOeWD2XBq9/ZLIYorNZiVPavaUyefx1VL/f+UhmyA7RAj/W7tr34EDrpI+VPYVqF kNtTDLQKBb/nJNAEufO888OwvsCfj3nxao3ajLS+HObT3rZLYVEf0e1WuLWdeSDLwssG hEqDdZmIph8RG918zwU/F8z9gLzmKiKl0HtzwlDovad37FdJn3MrBPbRGpthnn0p1kiF ErpQ== 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=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=FSNhiCJ69t4Ixmm53U24vMNC7FyFp6L0aEPUuVw8BWtZP1z9vLKEcSGbZJjE0vcJmV hnnw2tpuSNTnfJFB+/GYNKz9Y6KD8d8pb/IjAn53kmMXr0p3blF1TFjYKibxANLIjdAH gbLRGiYz2C9xndUdB58RfXLDFQ0jGB1EyuyclhTsP/J6eYm6/ZEHUxSI0PmdmcPabIV7 S6mAlQcvQpWd/tuaiqXrGVDBQMe2Ky22lPI/CWgR98TIio46nVf4276wmmP6573FWJrB m08w+We0X14kUhayuJNcH1qX+G+e3vRsGI96Zg6egxK8n0eSYjfG44b+7P6sbxKWLBEw S5TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=HcUtX5qv; 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 o3-20020a634e43000000b0054fe43caa81si2567469pgl.782.2023.07.11.23.42.35; Tue, 11 Jul 2023 23:42:49 -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=HcUtX5qv; 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 S232147AbjGLGdo (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232126AbjGLGdO (ORCPT ); Wed, 12 Jul 2023 02:33:14 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71973DC; Tue, 11 Jul 2023 23:31:52 -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=HcUtX5qvnoJrix64OWVAgd7w39 TokPNlo6ncPjrCuUv31j8KpQyhvOuPHbv80e2ekFkdJAbXVPQOTMC5r7gF3ekGq5DfZD5uRHTd+xj 7b1WfDpr0jbtZdDGmLgrKlJK2WF++I+cbgHVWDpk4D5v55hlqOCVkeOep4bE5PgzI3VTdS1l23f0m 5xjo3MeZs4VGuaay39CWKmcs0nm8MSKwqNOnqOM8FAZA1svUiRebP34LS2FA8i0vFMEvke5pRwAQU rocoOX4FGahQfzrHdiuXkvYDyk8xJqj54UjeVDA+09Il/cGk2A6diAzfEFcdOB1zMlejKlBi8dHiA S7T9lgXw==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN0-000AMl-90; Wed, 12 Jul 2023 08:30:38 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTMz-00020e-Lv; Wed, 12 Jul 2023 08:30:37 +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 v3 1/8] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 12 Jul 2023 08:29:46 +0200 Message-Id: <20230712062954.2194505-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/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196036585670427 X-GMAIL-MSGID: 1771196036585670427 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 Jul 12 06:29:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118862 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949241vqm; Tue, 11 Jul 2023 23:43:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlEyXigPv9rO9K91BimRpIlS+yLmSw3koBY8/AoP9uKIXLL1OWYAZEqP/T590b/ib3s9oOmx X-Received: by 2002:a05:6a00:190d:b0:682:5a68:983c with SMTP id y13-20020a056a00190d00b006825a68983cmr17029057pfi.34.1689144204050; Tue, 11 Jul 2023 23:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144204; cv=none; d=google.com; s=arc-20160816; b=BCdOrKvuVZYQUndOPaJ1olfZ3u9j4RlB5r09Ke+Vo4jAI2Ru2+cOGV0fzzqXDeLS5I wrX9gxKmz15V8fu1FYpi7AQagwzdmTFuaJaEb3oATZ+1y2T1HEYG1pn1g0NLelmWwu12 eUpC1KfZM+L5cs3HhpkFDq4ucF1d2Yne6lcG+nmqFMD5TavtGWJIz3yBTQICP/zViCkR a+7OTIz5Gf37BuHIeLgOkEVy+VWv8vaTWE/pnKeukqSkn/MURQXjEL86l6KquFgnJHx1 NIsbLoJtY290wc76Th0bMXTUw0gG3geBBev0wwGyQ1v2WlJ3SzZqSgRlx0Is9VLU9AAa R2Cw== 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=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=cenLJORcb9Arn2JPrOeMHd4kophx4iQ7lRSeDJL8D013kvn4QO/MWg39Mogjrwb48a bIoqAIooNxz4sR0Qp7VHJlwQI8/0DfbsW5RuECBtfXMg6hcoqWdcoX8fsJNxpPHDj+DB JSEM35iKPPlYdaPbDP+C/LFNltgR6lRTdVxVOnwVxVCNIm32Ow9NGbdzAqSHJvFtxJs+ 6UesglsUmLdm4M1iXkwIBXtiTdqnWwccMh2Syr+x3D/Vl/kOsl6fklEk/5ikhg4ozLta YuLW1Oqp6/pAUm6ifPy6bZcUqHa1le8hksBvpQ4Zc5QCoxq8q6WEL4Zt+sNzrsHOqBOW 65gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=ugsClXrO; 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 e14-20020a63f54e000000b005455d1ad59esi2555393pgk.314.2023.07.11.23.43.10; Tue, 11 Jul 2023 23:43:24 -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=ugsClXrO; 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 S232173AbjGLGdq (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232119AbjGLGdP (ORCPT ); Wed, 12 Jul 2023 02:33:15 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A1410DD; Tue, 11 Jul 2023 23:31:52 -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=ugsClXrOs2Jq8aOhW/ZNsplrCV ajlNlk5LcCPxEGCkQm1sQPRf7tYxGbAk0qQ18FnMvvvVsk18NiDdQ8zqE0chX1WHalBemICncDxZj X5LepyrwSXlixRF1wjF8H1LJx81rxnEk8gL15/MUaSxpzIVDzu9fISzwrn7SLaoWXzneg/2IyUt8X A/W/Wl8uklPLkxdWRMPlLqCo94fB3+2mhCgbajiYMvCMvMLmPFgmWUGhgh+73pQ5XAe6OOTGPTbxD CftWBpPDrwX3is4V1Z1iiEQO/WlqG6zw6V/Ljx5TFz5VUwMp1DHYjDEct8zD0W388NwTXU+Lw9s9a aYaapImw==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN1-000AMn-3y; Wed, 12 Jul 2023 08:30:39 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN0-00020e-Gz; Wed, 12 Jul 2023 08:30:38 +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 v3 2/8] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 12 Jul 2023 08:29:47 +0200 Message-Id: <20230712062954.2194505-2-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196072823895753 X-GMAIL-MSGID: 1771196072823895753 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 Jul 12 06:29:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118871 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp950116vqm; Tue, 11 Jul 2023 23:46:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHd9mzINSZHtPfveZhgfCGKkuW8B2pbKLoZDxwFuQBB1QglWwa3X/9WH2Yfx/KdVOSIwiQa X-Received: by 2002:a05:6808:1a81:b0:3a3:6536:dd89 with SMTP id bm1-20020a0568081a8100b003a36536dd89mr15662915oib.49.1689144365766; Tue, 11 Jul 2023 23:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144365; cv=none; d=google.com; s=arc-20160816; b=1KozjfQrVIrell8xGLSoK7PIWVOXn6RT0ExkkTbxIKwmCYqqW2o5ZmoHrgfqHPS4hE MUJwlW5ZAztuHfAyg/kNtvlFkbbNqz29wcqJ+H5Dw6yPo4CkvFGfw/xKGYs/+TWcdYpn RA3jk4D+/ugjPkqfw95C75sjYbx7BLGc+57JoVNu4KRuHJwL9e1PaJRtAmKSYuHiUup0 mAZDRZZ7NXQPRGFTe0DnLQTJ/9DreIE5ioQg6XQOdi1jY9av1YZUb13Wq6EnOtUQnLKX obe/i+G3ddDKwFStOfr0puV5tZB+RpH4RvShrC4UulkKQrNt0QMmLZ+dq0IEDHP0xfeh NdUA== 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=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=I4muE7Sv4qituLqyxvbZJljhIcac2z29X5XsomUzjiHNwIUg6hPNv3vRCR2ALYmG91 ypzA6euOM27mDyAV5E0AVK0S+XwaFYxaI7FI1GPCD4XVSO5sBeD/hWWpQTK6yMv08tjY 0qAXGKakTs34x2M6AIK7E7iZGw3zFLEbVNHug0B7NyhzsppTNFTvmM+o0sy2HspU2d+h VvB+PUdCHRnVPPjrDcj2FRHJVwfYVLS8slfdvvYhC5gKGXVzgmy5n6Aj2I0k9Scy12o2 HCImx6VuW+QLN3wWXBQmvvHIpTaMhtFZz1N8w0A/AMbxLgnkLn0L8tiulPIy7H9FKE+j q/+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=MPAugID9; 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 d9-20020a056a0024c900b00682a8dfe64esi2771330pfv.301.2023.07.11.23.45.53; Tue, 11 Jul 2023 23:46: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=MPAugID9; 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 S232242AbjGLGeP (ORCPT + 99 others); Wed, 12 Jul 2023 02:34:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbjGLGdh (ORCPT ); Wed, 12 Jul 2023 02:33:37 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E54F2105; Tue, 11 Jul 2023 23:32:11 -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=MPAugID9N8lPrHO0FVqKd2Nn45 LZs6YhnWceykXv7qA+rDUjF9j/ZYhwXuQ+DWi465NjK1RMSCtV2Gy8Be2dCKoWowIhNUgP+6goXzq xqIbYGJ0Dlb6MkV6epIfJz/X6oqZrCHuok6OZTZdop2zCiwlAjuPZr/cN/zYq8N+nwjmxbpI8lBsn cWDXHN5jJVDLmb0v90rxzl57MoRwFh9a4aA63A4knlTXoe7iOg9uqShIWe+V3c67Ae6fDKuRZC5/U NwCOdeU2pFZlciZ6y/XlstIjF/xwtas4LzINzMWGjrCgumFVdDmIKywz3gBs1trmWY0wYG17Obe10 j0gb1e9Q==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN1-000AMt-Tz; Wed, 12 Jul 2023 08:30:39 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN1-00020e-B0; Wed, 12 Jul 2023 08:30:39 +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 v3 3/8] ARM: dts: stm32: Add alternate pinmux for can pins Date: Wed, 12 Jul 2023 08:29:48 +0200 Message-Id: <20230712062954.2194505-3-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196242792009548 X-GMAIL-MSGID: 1771196242792009548 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 Jul 12 06:29:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949809vqm; Tue, 11 Jul 2023 23:45:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlGONjkOypZA5//lR8AzV99eLCiDAroQMr0DDUzElhmGzQc/8/t8DtYtAH0m9kFXYxq52cBw X-Received: by 2002:aa7:c544:0:b0:51d:a831:58e5 with SMTP id s4-20020aa7c544000000b0051da83158e5mr15251500edr.30.1689144314653; Tue, 11 Jul 2023 23:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144314; cv=none; d=google.com; s=arc-20160816; b=J0XGJtY1lHleQDsFxNf9QR3L/2bzhvWlTkOGIwlWp7hix0yQbrjN+FFFhMmJNxqBxm 3F4SKzUvEq1olw2JXRkRzvQORQ+mThTiBvec3xfXDHsIYZYc0Q13J3ofjtMs70GUrH7d QV9q3UqDAICvHFlHIa5W5ra4vk4JpRZbXXdm6+KWs2ddPnZdGVnjH5xKzxy0aOnwNjw3 qiQh7FFzLM8SzptyMaEMWG5PjT6/vE7NNi91DukAq38ukFMeegIKcvPRzTrG7wrMkz/5 gneG6klra6akQj45JKdwUxLwIq5lh8hrnPGSoffXDsy3xiI+cCkt/PtAt1QD7e7OaOAy HzxQ== 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=; fh=ZprvQefb99PGsJwdwqk1FiAndc3+l7iQaoYad9xzoKc=; b=tn1jIBd4cNG6Rr+KCVfZuhQvOS7v63XsX19s4TB1lB09SUn0T7bJ8MKbamO0YHKlMA Key0g7I2N69kUI7u58IoT8n3cIeTvabmidnk0AJTRQYwqJU6sPSnE/BPcjHXs36DtdmF 7vJwd1zXmdLNImxUUId2T2EaSGwgfrkhEiAiek4QVaYRO7qVIvxDwuFZNEye1nyGpzyD LnepbOA+NRks1v4cu9dsXFa+3qdQoQtsuso5hhn/WrHJF3l9I0S67qtEO3PXXgG+qHjr L7L71DS3fGU7XHt/rm2FbwsBoVxJUW9lxIqzKQ5YZuGyv4l3X677MgQ+neDFsm+1Rmiz 9uJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=aR6+k2H9; 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 by11-20020a0564021b0b00b0051df7f18d3esi3715422edb.673.2023.07.11.23.44.52; Tue, 11 Jul 2023 23:45:14 -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=aR6+k2H9; 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 S232276AbjGLGdt (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232130AbjGLGdT (ORCPT ); Wed, 12 Jul 2023 02:33:19 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C7C61BF5; Tue, 11 Jul 2023 23:31: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=yv++Yf2ZbIGL3PF2oiPv+AG+uNMkGKrSh2PCdGHPRfk=; b=aR6+k2H93hGl4eFR/rr5uzkzf1 JYvL2WQxvx68bfLJntL695eWwbZ3G4gdCHd1OrwHKhVVVQftCfe98IV9nPabndsSnfCRjdYp8KYwA vIWUJ02NxekvTw8yKHMOS0uLqsVXyV29MDS0oOEWyVvTH3UBW1JZ4xSFIjIfZqPUWvcmyFMAqYhdS 5FDy85UzQoXk8KsAbZOaulgq9GFqSSj+aRV0yQOvNv6m+VWYHwZj2QVdIAOwRBLBpzc6XcZ9fIqFB PC27k7+GTCce5B3ky3BU08W/mqetgYL1fw09keXkPFIErRiVlCKNOLufjIAepQ4r/hlpEe/Av1lTv SBsBPtZg==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN2-000AN4-L0; Wed, 12 Jul 2023 08:30:40 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN2-00020e-40; Wed, 12 Jul 2023 08:30:40 +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 v3 4/8] ARM: dts: stm32: osd32: fix ldo1 not required to be always-on Date: Wed, 12 Jul 2023 08:29:49 +0200 Message-Id: <20230712062954.2194505-4-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196188991829174 X-GMAIL-MSGID: 1771196188991829174 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 Jul 12 06:29:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118879 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp966668vqm; Wed, 12 Jul 2023 00:22:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEE7+d5XO3mDdo8+doTzr7M96JgfgkrbywOxDcs/iZRDtFSxpMCF4jVrwGppLjAytHLX6iz X-Received: by 2002:a05:6358:919f:b0:134:dee2:8c18 with SMTP id j31-20020a056358919f00b00134dee28c18mr15585849rwa.27.1689146553004; Wed, 12 Jul 2023 00:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689146552; cv=none; d=google.com; s=arc-20160816; b=MVRpW9TgK1iMEoUWmIRkk4KBvB4Bs/yXLHRK3Gt3G9PhabIs6BgDSQVzBs0wxeTy7X 91jFDXQiuidqvqfFNiNH8XjJU8k8IqA6f/FXmPNWrHwJ4J/J+Mvpc7XJVs2CpZK2Se5c RnJgpaoZ8mgu6wUV7yIbMoFykCYJpW6iMaPE5TJiwLegT+yKnH86qDn6u5ij82Eftjlc z3tK145t07JDb+rksoqwaILd+jBQ5LVO9Gkamutiy/iSL6rhQYN1go25BrKhcIm0taX0 yv3VUS1eLypg0TBpUhaDmRdtav+BmCWfGBwvk+HSHEoywNU3Vtuy78o+/dsEL+PXNAjx HzeQ== 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=; fh=ZprvQefb99PGsJwdwqk1FiAndc3+l7iQaoYad9xzoKc=; b=grP9DBrE75IWOJgtPPRjUISpDHT4eOsRpj2uS6pHPK+k9rT2yeYSx4mXMLlar+tanN z1tDzUZTmDIe9HYSEDIOsTiG8w34JUf7USHP0lQ8Keos1S/+YksuBccZ5314Jc/mrCEa 5J38AleG22uyyoGUIfNjPBX/JlOcUwBNOZC5+o0w1v/bND/YVVqoCDy7k2cnDZ3QkPHI I8QRBAznmdcfuOCs9UVVIf3712i02GMv6+DazufkFnAwKX4Hm14DuUVwJ8M3VQ1HboJX QHLXxjq33yZQtTq+SrrP6PBd2qKEOzs+J6/jUJeoZzDeDkIAcmGLKAM7LSQ2mum+pulx TCUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=v3aXJsY5; 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 r7-20020a63e507000000b005340840c0c7si2463575pgh.476.2023.07.12.00.22.19; Wed, 12 Jul 2023 00:22: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=v3aXJsY5; 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 S231299AbjGLGeS (ORCPT + 99 others); Wed, 12 Jul 2023 02:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231816AbjGLGdi (ORCPT ); Wed, 12 Jul 2023 02:33:38 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A82E2127; Tue, 11 Jul 2023 23:32:14 -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=v3aXJsY5GSvzOGdiMLiz6NEz44 aLxF3WAcHHqtdr6jjoyMI1S1KU/+CCdNT5BCKoPFc29p5mQIsxm2XFLyhw245cPeNso8kLdzVG0Vf aNXGju4l5iRmn1jRZI81qcZL7nP6ixC0npuSszuAERBYLQX5FHUhVll6qX/6pjJ2KWdLNbCQmMSjW 3BzfEFbrR+uBkh+JiUmATLOrvkU06AsE94jPGLJSVLklxymWdRQjoZwm6hrIK7l++U6K0GQ59sVXF q7Hiu9AVwyGlXYSwOANPRRXfni6MiahcEwdSLsR2/nyXzFsLGqlFX2afuxeGhazhjbP0Z69NWuFp7 MhWazgdQ==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN3-000AND-Gw; Wed, 12 Jul 2023 08:30:41 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN2-00020e-TQ; Wed, 12 Jul 2023 08:30:40 +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 v3 5/8] ARM: dts: stm32: osd32: fix ldo2 not required to be always-on Date: Wed, 12 Jul 2023 08:29:50 +0200 Message-Id: <20230712062954.2194505-5-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771198535869457957 X-GMAIL-MSGID: 1771198535869457957 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 Jul 12 06:29:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118882 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp968159vqm; Wed, 12 Jul 2023 00:26:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlGDmVQqhhZbHPsivOp70exrodXK7lWBPahTSLo8V9ccB3nG0QrbJ5FhmvzZkVhj4spj6JH9 X-Received: by 2002:a17:903:32c8:b0:1b8:a67f:1c15 with SMTP id i8-20020a17090332c800b001b8a67f1c15mr1684697plr.25.1689146771845; Wed, 12 Jul 2023 00:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689146771; cv=none; d=google.com; s=arc-20160816; b=bIP5gog6jBJYd8KO1vA17Zpikc6PlNGMHKxuU27qkmlTIzCxLkI88Vkbr/0dZD53du YiLB61UYLs6ALelXlOIVg8aa6TGOJM2djqPr5GnNlSvzzO06ZaNgLXsV0JQa66Acwidi 0aNJqLDcfMqZ6enuIqw48ikscL+eaOvcE266zExiq0wrNL17yxp3VEsWEYjiCy7aGl0f nafOTsSrkFA7IhX1GnZT26W5z0Ws3OP2lpyBS9y+dWbik8F3QPw4GKcU7v/n7qnk2S2G I5O4M8xu3PGExHVUxE984L6g1OWKFuZ8dWuq4vP1gnkBpJHY8y+FMZHIQss3Pc8crXD6 1uog== 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=; fh=ZprvQefb99PGsJwdwqk1FiAndc3+l7iQaoYad9xzoKc=; b=sdGTObDD8cdbyhwlLPR7Zbb1TDkdbAmT7wkL71rF/SNp9l7xleoTv7N2dYEI1Ax0pR 4GHRNz16cAhISOpZMs9Us5vV3PCFiM8R5UOzemHTyZHkryqv2h2nJuIIWlrBqkUs6Krb u+/IYDXMfjCg/cCp8Vt4f+ETuB/CvFtNi/jw7F8NDQTPm3+rodGni5gEkqaFoXZMpucq tu7mKRp/n7FkywZgey/YSLDl7yW9WKvgflKkvqNqz60rMxW80rp/xvw67KcePvqTJpwa hJqFjdb6r4e8cQEAeXO4AS4SvQAq2BHw4oyQShMelhr5aSFWqFGR66oTrk8u+BWPZQA7 Qg4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=PmN6x7DR; 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 a14-20020a170902ecce00b001aaf1734d1dsi3019049plh.241.2023.07.12.00.25.58; Wed, 12 Jul 2023 00:26:11 -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=PmN6x7DR; 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 S231919AbjGLHB1 (ORCPT + 99 others); Wed, 12 Jul 2023 03:01:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbjGLHB0 (ORCPT ); Wed, 12 Jul 2023 03:01:26 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E195410FC; Wed, 12 Jul 2023 00:01:24 -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=PmN6x7DRPYQ0C/z4nRLGkmAh5w CXf+cYz6rvdbYk0vetU69RsODAlGJyTOriJiA6+psu9pJZb1L+k8ZfswKqLxpEpSWkn1iXa/Xngvs tfaQls77SsfOEwgRI8fQcLmWXm/OgUOqNrw7Pztf83Fi8ygLRjJYgiTT0mjUd3L4gFmE5cXzrzu9x aLQCCGbxX65lP4AeSN863iNawpibNjH/IrmnnwGDrwTqj2OxkiNX2CFnIkFPbN2NL6R5lALeQO5Rd G+kMyYOLKThJZPGJUk2YwaKnN1MnmtTWu3aeJuyQsk+1+fA4k9bXZ9mvvLvP6AKt7CslueHdxouOH V3WCGu8Q==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN4-000ANQ-8q; Wed, 12 Jul 2023 08:30:42 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN3-00020e-N1; Wed, 12 Jul 2023 08:30:41 +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 v3 6/8] ARM: dts: stm32: osd32: fix ldo6 not required to be always-on Date: Wed, 12 Jul 2023 08:29:51 +0200 Message-Id: <20230712062954.2194505-6-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771198765431760525 X-GMAIL-MSGID: 1771198765431760525 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 Jul 12 06:29:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118878 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp966455vqm; Wed, 12 Jul 2023 00:22:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlFq/Z1Y7LWZvMElkSyPmglUKKl14PWERySiw5pnTM1Y1wCNcakjW67XVEpxnt97Iff6PGxt X-Received: by 2002:a05:6358:528d:b0:134:ea45:53d7 with SMTP id g13-20020a056358528d00b00134ea4553d7mr16507956rwa.26.1689146525153; Wed, 12 Jul 2023 00:22:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689146525; cv=none; d=google.com; s=arc-20160816; b=YA5hGjLhor57Y/Nq4tgRD6WcyDEQztIOw4v7AbupPF+Lv8aN1bHOHYjKjVAFMu8DNL 8WZHMUOm8WfDW2OIjQYAnXca9gVyRiZ9o/ipWxtgxOhWGf4Eq9HW2Me4TySA0MM7pRFi Yn8VFnkRrl6M+mZE/9zNydTxkLavMlDart19DdzHUMvs6HZXsKIplUTemCWjpeoBAPTt KyQ9SbEmIDHGeqLKxgmwhQm23dIE/Jr1LAzxekV2ixIc14OSUWGLzue38/umP3coEu+6 EmQkjs4gyJO4KerIRxcrxpDj5ZdA4zTsI/ulFPLWvGWJXOvXtSqB7X9B4C1ySzFxXT+R kVmQ== 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=+NSeTWXlLaqd0QM9E2r5+dF51AyaD/+hwbdBrA7hUf8=; fh=AkTipietNI97WQEC90/a5uc7i8Dojr3TvvmRRmP3Ap8=; b=AHV2EsESjsQf77U/CeztzkXUTgxKJrKXrMzCO6zn0MxGEoBWcNYpkusyNKHVUxKV+E SEbtByJeCgnPL9BQBhrhiT6l8clHNGtWbVqIhrnd00m4Or/Gc76uvK4uDdHKM2ow5bZE EsGUepFVnlGxnlnbkKmUSVQehY9tEgfuMMZiMqo5ON+PEI8Ub2rq5+c2Rh7vcr7bnwgT EKAJKYdUsmol8bRlokv4+46Ef0s1+z7/WaW39aeP8643Bs4i1WK4UWA/o2sVHDJKTpnv hYg4fAXwX6ex72sNoRu2HDfkLy0R9XnG5SsyJdRYRczMhNZfqnpVMRztUXnah4JBTApQ FQYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=BAwbX8dW; 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 s20-20020a63e814000000b00553a56f7b31si2742928pgh.330.2023.07.12.00.21.51; Wed, 12 Jul 2023 00:22: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=BAwbX8dW; 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 S231936AbjGLHBd (ORCPT + 99 others); Wed, 12 Jul 2023 03:01:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbjGLHB3 (ORCPT ); Wed, 12 Jul 2023 03:01:29 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F63910FC; Wed, 12 Jul 2023 00:01:28 -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=+NSeTWXlLaqd0QM9E2r5+dF51AyaD/+hwbdBrA7hUf8=; b=BAwbX8dW/pTaGY1CSBxc+7tKfC esW7y+Dj55pPzsDW3zRiqp6vfpwKnEqfiUyKfth3qh4SKvmDkmV+k5E7gMIaoe9VaHAWqRGY21rXB pql5AF2Yvvtlo8SQCsFiXtC7sJbGjIFVifA3iBWkiOw8Xz4mM6kVQ5ex47CN2FSG6TxDzVspDYjYs K4W4jXhf4B3cGPkwXMaBs7Ql6uhCU+Q3qr/gbmJ40kIW8Pd+BIL+xeZrviScMnuHKQqnO23LexvDg 7WcLHWUxvFwru/yKwWIFIJ9lnjKTCT6ncnRS9pTDrng1DFZRQqtrxhGcEEtyD8lxid2KmVEJ5Iron OkyXod7A==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN4-000ANb-Vg; Wed, 12 Jul 2023 08:30:42 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN4-00020e-Ci; Wed, 12 Jul 2023 08:30:42 +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, Conor Dooley , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 7/8] dt-bindings: arm: stm32: add extra SiP compatible for oct,stm32mp157c-osd32-red Date: Wed, 12 Jul 2023 08:29:52 +0200 Message-Id: <20230712062954.2194505-7-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771198506319509018 X-GMAIL-MSGID: 1771198506319509018 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 Jul 12 06:29:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118859 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949062vqm; Tue, 11 Jul 2023 23:42:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGxtABOYoVzHdozKyrUVBtOkLbYGDiv512Trmiu6FwdX0UOhtoFZQ4DVkiZ1tOVGFYF/8rJ X-Received: by 2002:a05:6a00:1acb:b0:666:7ec0:22d7 with SMTP id f11-20020a056a001acb00b006667ec022d7mr19525590pfv.24.1689144172655; Tue, 11 Jul 2023 23:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144172; cv=none; d=google.com; s=arc-20160816; b=hoTpoDltMcprGBugYZ4vttRrnUHUuCHszbyZZgHvq38ji5GEUAU3gW1jGM4MsbiISX 9dz95nz3k4bA0A+NyzHGFTtZtKNRnM1uzrFezEQF1+Era/3S5P8veNdcAtHj3p8Gkple jZ+a6paAMNbw7up6ON5l+Jy0yTeqcUqGt03wyMka1nrrtQfd/NTD/YPSZuHRM9uTI/wU Ipd/iUATis7upvWXr1orQ1c4bqZX33dqT8f8pyWaPDsoYfWrj8u6PnHqXNNWE6KHuh5b z2iPemxSpN0DF6aOhXPr24WKIYgvPW5NDNH3GfjXPqa5W4Lj/NyCpsGXgRsNCOwSJdcr zO5w== 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=yizx/bWe4mJQHublra1LDakim5cyR3NpInTAKLCC6nQ=; fh=3WJpTlG7PHlxau7FW6IW2z8Ah3cpbWGZ93Dg7Gj+QvU=; b=stZrCYFgww63sRIe+mQU+Q3i3b1LTe0ABrb3Omg4aqOcRSIxpxgLpFf26jiiKcsRLT O1T1plugkwF9ks5a4Fg0lJ1I+J/7zklSSzLcBOPimDRzDC/VtTejaraTUcvqZAz7YGcA sp608KNnMRne7pypb1+Z+SAV6bKXLLlI1/3/02NVyhrYHI0yaKrY+7UeRt41GyPyCNON xBn0Qk2BCsDsMpHmRIN9zcGeqajUEqgFdz+H/n45b26LZaG/YRIVgTcrKFvyhz7TqQ2e yZIm+2yYXHaWG/0BJ4r+ijbFd7AVQ07taO0OyeMc2U08iswvt+di4iMIIB75DrbMku50 XVlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=vveAE67d; 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 e9-20020a636909000000b0055337ca9ce9si2583989pgc.248.2023.07.11.23.42.39; Tue, 11 Jul 2023 23:42:52 -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=vveAE67d; 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 S232295AbjGLGdw (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232142AbjGLGdV (ORCPT ); Wed, 12 Jul 2023 02:33:21 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A86521BC1; Tue, 11 Jul 2023 23:31: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=yizx/bWe4mJQHublra1LDakim5cyR3NpInTAKLCC6nQ=; b=vveAE67dVX8D/ObrLCto8MEsFK IE2eab8eyvxnHuQYuZA+ZUm9VqIZMkhMkR02PHTULUhOA1XFzqq/ehmgp7c5FNkmnyGZBqyTkfbpx 2o7iD2c62IYAgF3StcCS4b730jJO0281usBkd5/XMnS3onyQu32DFw0EApXXMKBHPhC8I33bgipw0 YKSRjK4oexzky9LVL4z/m9hiT5GdQfSK9wt2dlbHcMHnaiibKoG5mFr6d9+9caDJOnfz0MEwFlQe0 10/l7nOfp+C0XpqbVKeVH/wJhxXNuepLSybJNRaobyWlm9ZalDBZW3WEamRoe/BDdJlZQ5FQpzQbU +oNCjp/Q==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN6-000ANs-AV; Wed, 12 Jul 2023 08:30:44 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTN5-00020e-Jv; Wed, 12 Jul 2023 08:30:43 +0200 From: Sean Nyekjaer To: a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Arnd Bergmann , Olof Johansson , soc@kernel.org 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 v3 8/8] ARM: dts: stm32: Add Octavo OSD32MP1-RED board Date: Wed, 12 Jul 2023 08:29:53 +0200 Message-Id: <20230712062954.2194505-8-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26966/Tue Jul 11 09:28:31 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196040160340893 X-GMAIL-MSGID: 1771196040160340893 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 v2: - Reordered phandles alfabetically - Added devicetree to Makefile arch/arm/boot/dts/Makefile | 3 +- .../arm/boot/dts/stm32mp157c-osd32mp1-red.dts | 225 ++++++++++++++++++ 2 files changed, 227 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 59829fc90315..a57e223eb0eb 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1266,7 +1266,8 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157c-ev1.dtb \ stm32mp157c-ev1-scmi.dtb \ stm32mp157c-lxa-mc1.dtb \ - stm32mp157c-odyssey.dtb + stm32mp157c-odyssey.dtb \ + stm32mp157c-osd32mp1-red.dts dtb-$(CONFIG_MACH_SUN4I) += \ sun4i-a10-a1000.dtb \ sun4i-a10-ba10-tvbox.dtb \ 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..dc4ad28e69b1 --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157c-osd32mp1-red.dts @@ -0,0 +1,225 @@ +// 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"; + }; + }; +}; + +&crc1 { + status = "okay"; +}; + +&dts { + status = "okay"; +}; + +ðernet0 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <ðernet0_rgmii_pins_a>; + pinctrl-1 = <ðernet0_rgmii_sleep_pins_a>; + phy-mode = "rgmii-id"; + max-speed = <1000>; + phy-handle = <&phy0>; + st,eth-clk-sel; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@3 { + reg = <3>; + }; + }; +}; + +&iwdg2 { + timeout-sec = <32>; + status = "okay"; +}; + +&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>; + }; + }; + }; + }; +}; + +&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>; + }; + }; +}; + +<dc { + status = "okay"; + + port { + ltdc_ep0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&sii9022_in>; + }; + }; +}; + +&m_can1 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&m_can1_pins_d>; + pinctrl-1 = <&m_can1_sleep_pins_d>; + status = "okay"; +}; + +&pwr_regulators { + vdd-supply = <&vdd>; + vdd_3v3_usbfs-supply = <&vdd_usb>; +}; + +&rtc { + status = "okay"; +}; + +&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"; +}; + +&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>; +};