From patchwork Mon Apr 25 05:28:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12825284 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 293FAC433EF for ; Mon, 25 Apr 2022 05:30:50 +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:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XPhr2I6dy9NX8dCdgqywZxA7p63D/BiopAjI0CWIpKQ=; b=faiK7qlA1HiEFb W2yTfXbN9wSpH/F7/PoRt//Z37ACO7dqvD1Y5XK9DLSb8+fM56oz8dKranf4YYiByRmDQnufh36pp okNrUfaj5zVgSIbJX4uLe/qsOK4wCOdnGgM2Vo5FpbUku7mDe31qoVMkv13uPdgAIA2VIu0x8z6q2 EIyoDmxUxiKJBkj7RJGNnK60CFS14Yiy6ofKx9rVL2VRPGHqTCOOWE54dNvajcpK20SQtUQXxyqE1 AZ0hrRKKk3UJOhngRj27NNyo/IxbKpsKWyWOylKmsfIPwTdVFSIOqLlfRSfM/e2rC67Jwpqza23Nb SHnbmWqNaDq8kEBKRexw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nirIB-008Hjo-Rk; Mon, 25 Apr 2022 05:29:48 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nirI7-008HiE-Ft for linux-arm-kernel@lists.infradead.org; Mon, 25 Apr 2022 05:29:46 +0000 Received: by mail-pl1-x631.google.com with SMTP id n8so24618253plh.1 for ; Sun, 24 Apr 2022 22:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nPLRlhg/0lhN/HtGvqWRt3vnb6gZRPusJBT9A2ntz78=; b=jyi1xmYpZkLiZGkGd9LzZHTIwrlmTlU9iCMSgBIqLwgfHBXtnqbNElP/5aAyclgZF8 pjYUZKcxzkcRTjwsyUIsJT4roFZghk3VuyBJeDWhgkXjGVy8QYUvtPPcwO72rtLLeoCB Hfs8GSs3+MfccaeRUo4pJLZGu/q/FknFThDV3kQLOUHmDcZv9mPQxmPfyt80IrU/9+K8 0gc4kw4xRymizxo2Gn99Xjh9vRYXwgNrZGWPXC5QhZ4HOlopEn1jt68X0x9yR3Wl8cXs 8ooTmC7phAniOZTL/i73bc3vy3WERFk+ECw4GIOBsVi6qAxV/wKh4nDVXLo950ydj0cD 1Z+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nPLRlhg/0lhN/HtGvqWRt3vnb6gZRPusJBT9A2ntz78=; b=kIJ8yWRLhaq9QwgVqe2kGk58bOd3swNSwAt0OYNnWidCXFPDDf0IL+AnWMs/fQhrtK o8iR4DpRwL7icmVAIOFAh/VfQRgk8vqN12JCey1ABcZ6JUMGzjP0fvvR4OGzlXr8vH/8 vo5htsQUgj+wZdnlxUUl8njUc5wLwO3mkr/cEoM+fDqy7FbR5n3AV2eXKrnjtdlBoh1U J+4teFXuVvfgOZUf39DBUNmTwPIT862UDfzKBOH5i1kvrCJfJceYtTqWasgC1Hmdsb/f vsBkCYhbHqXp2aDO0p8b3XfOLpm8i4nBxS1nMdlppKJGS5XFum5DzDGg//xyu8zJuSm0 gqfg== X-Gm-Message-State: AOAM531+/HHLoic81seyGz0jzfbIRqG4aaWMCK+WxO9P1qUJkAfnZfCM ikFnMERiCDEvC4mmgv9msw8CtA== X-Google-Smtp-Source: ABdhPJynkCpqwEnze65m3HZVlYOWpkBQstjbUHKWCYdb9fXlmDc/uaiWvd+mtBce0dACBMBvb9RPaQ== X-Received: by 2002:a17:90b:1c01:b0:1d2:add6:805f with SMTP id oc1-20020a17090b1c0100b001d2add6805fmr18849931pjb.29.1650864579862; Sun, 24 Apr 2022 22:29:39 -0700 (PDT) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1001:7090:237c:3672:1f2:b81c]) by smtp.gmail.com with ESMTPSA id 5-20020a631045000000b0039d942d18f0sm8282017pgq.48.2022.04.24.22.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 22:29:39 -0700 (PDT) From: Drew Fustini To: Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Santosh Shilimkar , Dave Gerlach , Tony Lindgren Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Drew Fustini Subject: [PATCH 0/2] soc: ti: wkup_m3_ipc: support i2c voltage scaling Date: Sun, 24 Apr 2022 22:28:04 -0700 Message-Id: <20220425052806.484590-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-20220424_222943_786164_FCAB64A9 X-CRM114-Status: GOOD ( 10.62 ) 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 Allow loading of a binary file containing i2c scaling sequences to be provided to the Cortex-M3 firmware in order to properly scale voltage rails on the PMIC during low power modes like DeepSleep0. The new 'ti,scale-data-fw' property contains the name of a binary file. A prerequisite for this series is: [PATCH v3 0/2] soc: ti: wkup_m3_ipc: Add support for IO Isolation https://lore.kernel.org/linux-devicetree/20220414192722.2978837-1-dfustini@baylibre.com/ Dave Gerlach (2): dt-bindings: wkup-m3-ipc: Add ti,scale-data-fw property soc: ti: wkup_m3_ipc: Add support for i2c voltage scaling .../bindings/soc/ti/wkup-m3-ipc.yaml | 11 +++ drivers/soc/ti/wkup_m3_ipc.c | 93 ++++++++++++++++++- include/linux/wkup_m3_ipc.h | 9 ++ 3 files changed, 112 insertions(+), 1 deletion(-)