From patchwork Sat Feb 19 21:53:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12752403 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41735C433F5 for ; Sat, 19 Feb 2022 21:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=p8BxI9ECPqTPqyHQHpX/2jmKcusXcGxvJVfaR+qQclM=; b=g7vVsCpoyvhjAm dF5l8x7IiW1/gUwUllmCOZNXJAMOAqYpAooaI0hyR3B3Q5BL17KP1/jPJ/8HDHKi2oUur8mLDMJc2 /qvcF261c2axD4u6a5MG7q7ZNUJYWTjZCopa2KDI+rldPyo9w0desbFzqOyZnUSxK5ZsIGf90yzZj mT1n8CGycxdSEG23FDjsATze9d8gqj5hl+27StVxG39CC+qD8WH6QEKGNsyzjiGND9Ovp60WuPtHZ 7JhHhAM/ETzyrV77M2p76NetK6NOBt/hCJ80WpNml+3+WsA83SlrEjLsRNvfR4rrFUixBE/3JsyLt HPT7PVsxOLWMZIwR1Fag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLXhh-000Cru-CI; Sat, 19 Feb 2022 21:55:45 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nLXhc-000Cqu-HX for linux-arm-kernel@lists.infradead.org; Sat, 19 Feb 2022 21:55:42 +0000 Received: by mail-pl1-x632.google.com with SMTP id x11so9877450pll.10 for ; Sat, 19 Feb 2022 13:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=+iB57UsJFQk/qq+LqVrtygemXd0B+XVilZt4bFe5htU=; b=u5QhJnaaBF1SaKzz2/AjuOZECD3NVFhQ0Zrh5Uh70FXAXPLK+SYH6ZFV67648MToHb 24xqZa0KtbsnXxThMuOffKAsoP58K2KgmpJUtNMWIDGvxSCZdzA9jbUwLjkUg40g3Qq/ 2fEc2Ftlb5+zx65nVGgQhT0bTvZsJMRgDFVpQdz5vkmWbmIdIH53utimgQiiwHLfGgqU NGAboZr1sbE/ZFi8SVqEkF3X2XMNZ6/+lXxVpVgWyr33R7152G11sYVSyRtIpTbc0smC EFi/H9O+GQPGZpOzvhdvWxlXMvuy4U0WANQxUt+GLjmJAKmuhM6WgGd+00YDW+1E1BC+ ncQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=+iB57UsJFQk/qq+LqVrtygemXd0B+XVilZt4bFe5htU=; b=zaVe19gn5mTKBsl984H0qEEQcf0UDk2mq0Elk0VP6XnLaRxmoZ4Vr/dEYUIA+16PEO ZngYwLjIGAtxF07XUTCYES0knIfWNxBPs5X+gYkb874Vd9IyyvroehSacYqV+WBmTGXl Z6GqSu8ZdpfKs+nO0aJQPmE+4rAIgi/hQX+mBdecSxrBren5USRZuftOxDlr6mEEltRg 2Q87wSaWuDELBX58TUw8BlMcq3T1Yu0pRLrYYKu/zWj4D7xWga+Omnnr7Rp9NJB6SBhI mxJPEAycCCIqDvd4w0xVVKq0jvRF5DDNpxoDmQLZik4O41l5N+6q94wK9jHIT0T58U9+ J6bg== X-Gm-Message-State: AOAM5338lnQx4ii0Ac1tO3yl9G6BlzJtQQKftOUsB/aDBIhRrUUL1TYY m//XCy3C/Oz5JHqhDXfXAJj/jw== X-Google-Smtp-Source: ABdhPJyLzGQfZEFYVEdwDM8G/RuzZT3/PENOwn2dG/FOspxT/iak7Uij73jUVZB1jllVqos1xyCcQg== X-Received: by 2002:a17:90a:c706:b0:1b8:a942:3e36 with SMTP id o6-20020a17090ac70600b001b8a9423e36mr14451630pjt.40.1645307739266; Sat, 19 Feb 2022 13:55:39 -0800 (PST) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1001:7090:31ab:1e81:9550:f30a]) by smtp.gmail.com with ESMTPSA id i17sm13447337pgn.82.2022.02.19.13.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Feb 2022 13:55:38 -0800 (PST) From: Drew Fustini To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Bjorn Andersson , Dave Gerlach , devicetree@vger.kernel.org, Drew Fustini , Keerthy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, Mathieu Poirier , Nishanth Menon , Rob Herring , Santosh Shilimkar , Tony Lindgren , s-anna@ti.com, khilman@baylibre.com Subject: [PATCH 00/11] soc: ti: wkup_m3_ipc: support vtt toggle, io isolation & voltage scaling Date: Sat, 19 Feb 2022 13:53:17 -0800 Message-Id: <20220219215328.485660-1-dfustini@baylibre.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220219_135540_665872_C31EDA26 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Improve the wkup_m3_ipc driver to better support the TI Wakeup Cortex M3 device found on TI AM33xx and AM43xx SoCs. This series derives from these commits in the ti-linux-5.10.y branch of the TI Linux repo [1]: 6ab4eff1034b ("remoteproc: move rproc_da_to_va declaration to remoteproc.h") 2a9be39a26f7 ("dt-bindings: wkup_m3_ipc: Add vtt toggling bindings") c65263f9e12c ("wkup_m3_ipc: Add support for toggling VTT regulator") 5c6c821803e1 ("dt-bindings: wkup_m3_ipc: Add ti,io-isolation property") 196c46f7577d ("wkup_m3_ipc: Add support for IO Isolation") c28acc847e5d ("soc: ti: wkup_m3_ipc: Add support for i2c voltage scaling") a4f9ef4ab5ca ("ARM: dts: am437x-gp-evm: Enable wkup_m3 control of IO isolation") 94de756f1771 ("ARM: dts: am33xx: Add scale data fw to wkup_m3_ipc node") b7ae4b063793 ("ARM: dts: am43xx: Add scale data fw to wkup_m3_ipc node") 451ec7871ae7 ("soc: ti: wkup_m3_ipc: Add debug option to halt m3 in suspend") Minor changes have been made to some patches to resolve conflicts and to split i2c voltage scaling dt-bindings into separate patch. [1] git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Dave Gerlach (10): dt-bindings: wkup_m3_ipc: Add vtt toggling bindings soc: ti: wkup_m3_ipc: Add support for toggling VTT regulator dt-bindings: wkup_m3_ipc: Add ti,io-isolation property soc: ti: wkup_m3_ipc: Add support for IO Isolation ARM: dts: am437x-gp-evm: Enable wkup_m3 control of IO isolation dt-bindings: wkup_m3_ipc: Add scale-data-fw property soc: ti: wkup_m3_ipc: Add support for i2c voltage scaling ARM: dts: am33xx: Add scale data fw to wkup_m3_ipc node ARM: dts: am43xx: Add scale data fw to wkup_m3_ipc node soc: ti: wkup_m3_ipc: Add debug option to halt m3 in suspend Suman Anna (1): remoteproc: move rproc_da_to_va declaration to remoteproc.h .../bindings/soc/ti/wkup_m3_ipc.txt | 91 ++++++++ arch/arm/boot/dts/am335x-bone-common.dtsi | 4 + arch/arm/boot/dts/am335x-evm.dts | 4 + arch/arm/boot/dts/am335x-evmsk.dts | 4 + arch/arm/boot/dts/am437x-gp-evm.dts | 5 + arch/arm/boot/dts/am437x-sk-evm.dts | 4 + arch/arm/boot/dts/am43x-epos-evm.dts | 4 + drivers/remoteproc/remoteproc_internal.h | 1 - drivers/soc/ti/wkup_m3_ipc.c | 208 +++++++++++++++++- include/linux/remoteproc.h | 1 + include/linux/wkup_m3_ipc.h | 13 ++ 11 files changed, 334 insertions(+), 5 deletions(-)