From patchwork Tue Apr 26 20:07:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12827884 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 0B7C7C433EF for ; Tue, 26 Apr 2022 20:08:07 +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=sb6Mt1GSSJoG678flEZTDLa/5ruXY8fbDgnJuANhiNQ=; b=stncDnDyMkoBK2 aLqgEaJc3srTdkLrrLI2cMH6Y89NLYeP7gVBCwVPc/nvy4l/jSgFJ1Hc7VENqEAM+PGBA8122t1HK dSZde+BboTtQC468vOPReF3wzgVj/l3CYvNz918gMXU0gDgWsrA9CkuSxkyBe+q3F+DgiUL/9jhca KpxqLfd1lcYVR1kpN99eViEKOt7xbqL8QYjz/B0hwBAbi6r7lgSPOqlAL56TM7KVC6tTSlAylyJ9v AwygSc+nm0aYf1zS47/vV7g2PJleuCztnvNomUK2bOczq31LFlpbSk1kUQpIdfoe2MdKhp07bYr4D 1kJxcHU1YwPEHK/DUPxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njRSg-00G2I7-DI; Tue, 26 Apr 2022 20:07:02 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njRSc-00G2Gt-6a for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 20:07:00 +0000 Received: by mail-pl1-x62d.google.com with SMTP id q8so8069617plx.3 for ; Tue, 26 Apr 2022 13:06:57 -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=XYZny63Olqdg6ug0jPC0IStZPSKLknIicaEuGEKKAA8=; b=veF8bU8ZuY4+7L01tnkAqnvnIS105JuIyOIc9jEjB2riL9bUNDkywylOlBB9cZ7alg aYHfxFvJn/kPoxsuT4AF/LLIK37UKhDWs5cY8ow5krN42QIvpj+xt9duHH8PwI2F6gMU WQNP0iIq3XlbYhsY04ueU6IU+1pHigr2y5mgo0RAt/awM0logn4wMW/2p7/HXGVAfc0h apCilHYRzF4k/lZh700CN/IGer3dnVLBvkSecCKJLRMjHJHpnseTtm+Fpe4DQkDeHo5X FO7ctl/cV8eo6zuLvl5g6miMsFcEhLNamYo7SY42XDD/fA73pG7gaRa1v1HURA99tO4c rc9Q== 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=XYZny63Olqdg6ug0jPC0IStZPSKLknIicaEuGEKKAA8=; b=bzB1FyDrcPtpssJjypOyzuYbYaVeQFV1I8RwnuVuTe4OWWEpq2bJADSNxwLG/nW9nt lNUCxsnzHlsMOozceakJXpxTnUtW89BX02SgHzfHrTb7E2m/1GQ3IJj3P3Y4P6TckafW AYqCaiArDTSHcQhWblKndg15PGwoXdPDwlCedD/vgQnZ472cDxCwVV1MW+Wsr4L8EL// 7Mh/XgoQ40EPI2Or78evv28tvVDXWeGO6TvBkbCrYOCjFGJKrg4/0yDoKiBGKNLhRtlW k98bNo5Tz+wxLfhFbsiW9WzYhK7j8e84u87SVfDAaF4euDWCV3fewprNKC07PFwEwfa2 AslQ== X-Gm-Message-State: AOAM530wvbKm3FElW26Liu3dbl9pDTk3ZRC3uCdKdNVbmm131CERZYPX zIojoB8Keo+Hf/3+sp//niw81w== X-Google-Smtp-Source: ABdhPJwGioRwBB+ZEDr03SJUKywxCI2kMXKUwm+5HMD5y9n1SXucNrhUMQ5dzztjaBew2CyWlubH0A== X-Received: by 2002:a17:902:b941:b0:14d:af72:3f23 with SMTP id h1-20020a170902b94100b0014daf723f23mr25933783pls.6.1651003617294; Tue, 26 Apr 2022 13:06:57 -0700 (PDT) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1001:7090:9bcd:e060:b370:70d8]) by smtp.gmail.com with ESMTPSA id o5-20020a62f905000000b0050b5b5efa47sm16203839pfh.191.2022.04.26.13.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 13:06:56 -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 v3 0/2] soc: ti: wkup_m3_ipc: support i2c voltage scaling Date: Tue, 26 Apr 2022 13:07:40 -0700 Message-Id: <20220426200741.712842-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-20220426_130658_286052_9505BCCE X-CRM114-Status: GOOD ( 14.21 ) 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 'firmware-name' property which 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/ Changes from v2: - correct the name of the property in the commit message of the bindings patch to firmware-name instead of the old ti,scale-data-fw property Changes from v1: - change 'ti,scale-data-fw' to 'firmware-name' - add 'firmware-name' property to the examples Dave Gerlach (2): dt-bindings: wkup-m3-ipc: Add firmware-name property soc: ti: wkup_m3_ipc: Add support for i2c voltage scaling .../bindings/soc/ti/wkup-m3-ipc.yaml | 12 +++ drivers/soc/ti/wkup_m3_ipc.c | 93 ++++++++++++++++++- include/linux/wkup_m3_ipc.h | 9 ++ 3 files changed, 113 insertions(+), 1 deletion(-)