From patchwork Mon Apr 25 05:28:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12825285 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 AFDAFC433EF for ; Mon, 25 Apr 2022 05:30:55 +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:References:In-Reply-To: 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: List-Owner; bh=uUiiEhgzzhi0Nqn0xkbcY055SsQWkQtrZfTzYOG7IEc=; b=KBo9+n9hpdH1Da Lz2DO3OPti/fPCzCf/ii188DmvugokDqq4ZzzjmKsFrqejhez84k0AzCvVLd6GB8ubJ/Aw2qvdb7C WL0tY7EQftoGVtSAv6r/17l+2qeNXe1ZlBa9kKdCRFeU82lxHLXODT4UfZZRS5e5b7aNXs2Fx5wXA 417qF9aXoNth9trftF87l9vTyMrfkdcHAkM+wYdWBjtGviJM7v2nS2ZiMjF11xuRepo1/SeLhEvua L8y8PZckay8q9HE3eJ4zAnV+jW3KYm1/Rt0mcRiG9CwY0L8WvDSlTEMoZodDiAu/aqYuYzGi0pDts UFa2k8tjRyhv9d7ys6BA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nirIL-008Hn7-RD; Mon, 25 Apr 2022 05:29:57 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nirIA-008Hik-II for linux-arm-kernel@lists.infradead.org; Mon, 25 Apr 2022 05:29:47 +0000 Received: by mail-pl1-x630.google.com with SMTP id c23so24571815plo.0 for ; Sun, 24 Apr 2022 22:29:44 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=t0t+E3+UrZRK2vD9EjjV15zx2XRnBcgr7x3QPaYOIsA=; b=hW6UGrW0yXkHXxU5Dy7MVLbaaKIjTnm2l1SlcHVst+c5c0Owaq+KqAFg56bhbhW16d wjlS1pLvCn8mLKO9wDHxek5hIdOSwya8f5mLh8nwKCFs5daRgP81SxXS3OOABDeH6Q5K FRN/ETlo7wnr7uJVwIsGHM44GI2FcFEaMwJy04vBZ3Pgd93lE/5hDBO3xO8yzkDZK9oL TPHzN4+4FTPZF0H49y8vFgl3C8KzAZCyen9RytLqHLK99/Dtt7B8u/9dqPN8R0grboVY JAtA/DH1HTNtd5FPqejxFpzrVvhp7odqziHffjoaBphxFOFmwVWHZVpfvAklgtPO7/ce ZwXA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=t0t+E3+UrZRK2vD9EjjV15zx2XRnBcgr7x3QPaYOIsA=; b=bs+iPmkIZINuVfTUaV5dbXA/7E6Bz3u8lzNo63+aWIzmI8RIN6d7hXIEsrAC6PtLGK 90clScEsVN9J32DiEMWEf2p/M71Gjd0lisIJzUjy2ucbAhfyE33UGYkumKgz412UwCcj ixvzcycLugyNmpoWZ5hjspjss9UB9lg8X9FQw5/8YQa+jOgUblqzFVGAJX3OEMS69Kpk 5jn5SxaG9K8P0UE4mVCMy5Jv64p2zxGJ5obAfElNqNekYbjofYdBc+fl2MyVQsKGs4B/ b9wWkvqP6stjLYyuIUEoebozEbMWbKu+vJKe0hd+WFBannu9irwrF1LD+TOF/LWM0Mpl YTzw== X-Gm-Message-State: AOAM532JtRfklsWK5AWKLdEADeeokgPByOjQGNQd0XCPSzRUSkHViI1H kGicf6R9fej3oCmaUnMtOqddJV/WUo7eLQ== X-Google-Smtp-Source: ABdhPJxiIHOFIGxhJm1sEj9yZBmjT+WueOWESH2RjxHuid96Bunut71XKscaM1SaUlE4hpxTAiULDg== X-Received: by 2002:a17:90b:694:b0:1d9:6a2e:bc9 with SMTP id m20-20020a17090b069400b001d96a2e0bc9mr4761931pjz.169.1650864584237; Sun, 24 Apr 2022 22:29:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 22:29:43 -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 , Keerthy Subject: [PATCH 1/2] dt-bindings: wkup-m3-ipc: Add ti,scale-data-fw property Date: Sun, 24 Apr 2022 22:28:05 -0700 Message-Id: <20220425052806.484590-2-dfustini@baylibre.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220425052806.484590-1-dfustini@baylibre.com> References: <20220425052806.484590-1-dfustini@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220424_222946_643277_ACC19CAA X-CRM114-Status: GOOD ( 15.16 ) 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 From: Dave Gerlach Add documentation for ti,scale-data-fw property to enable I2C PMIC voltage scaling during deep sleep. The property contains the name of a binary file for the CM3 firmware to load. Based on previous work by Russ Dill. Signed-off-by: Dave Gerlach Signed-off-by: Keerthy [dfustini: split from driver patch and convert to json-schema] Signed-off-by: Drew Fustini --- .../devicetree/bindings/soc/ti/wkup-m3-ipc.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml b/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml index 88d690de050c..d2c248d82384 100644 --- a/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml +++ b/Documentation/devicetree/bindings/soc/ti/wkup-m3-ipc.yaml @@ -40,6 +40,12 @@ description: |+ override the pin's existing bias (pull-up/pull-down) and value (high/low) when IO isolation is active. + Support for I2C PMIC Voltage Scaling + ==================================== + It is possible to pass the name of a binary file to load into the CM3 memory. + The binary data is the I2C sequences for the CM3 to send out to the PMIC + during low power mode entry. + properties: compatible: enum: @@ -67,6 +73,11 @@ properties: mbox_wkupm3 child node. maxItems: 1 + ti,scale-data-fw: + $ref: /schemas/types.yaml#/definitions/string + description: + Name of the firmware binary in /lib/firmware to copy to CM3 aux data + ti,vtt-gpio-pin: $ref: /schemas/types.yaml#/definitions/uint32 description: GPIO pin connected to enable pin on VTT regulator