From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E522C433EF for ; Tue, 26 Apr 2022 19:27:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354089AbiDZTaa (ORCPT ); Tue, 26 Apr 2022 15:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241779AbiDZTa3 (ORCPT ); Tue, 26 Apr 2022 15:30:29 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 982A16E4F5 for ; Tue, 26 Apr 2022 12:27:19 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id y14so18083057pfe.10 for ; Tue, 26 Apr 2022 12:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YrNAxfDrxxD766OcfeCfCclqIZpQa0twyturIx4zcDA=; b=lFpfuszm5sYEet8AFcmzLa4ajQqoQ28Y0ReAuZHGIDsHkytcZgVXGcB2HZzslryqop KuAHYH0lOOzehRzsz/JNBPOdO0QuUNhTGm2JIAXfwTsO7RK1dG6NtZdU2wcGETwnHgT7 ERJZiZc94CGVpzdmoJXxJ6y/5gtpV9ksDeveb6drlh6e0+jqXTBo8hcp5Nw9TzKxleFI LDHft1G55yQmOC7+qC0MNvo/CLNnvOeWQrUfQq6tkotBoY0TfSqWyXdMY+2OlEECxnse vJ9KiPmxDEJDHRaqrzgw+O23TQleBL8JpBtCPJVrPaFM6wZ05Z6a2yKizbldHKlBgCmp NcdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YrNAxfDrxxD766OcfeCfCclqIZpQa0twyturIx4zcDA=; b=wzvfj6mYOyT5Ns1G3WXg6jPJhhlMkBPYYh/FBwtTGMd/Q2XhfZk/TPkyOc0Z1CcxCC 0JJbDxtonMfClsCh8mEk/neF81ZiA44Bs3HZpdpxzV2rVyrQ12UgKTjnjFME0/GRocQ9 pKhOrhxsAOfcTuwHijTmTafKjOJouRJmJFigiIncpbDkKAcLxDWRJScWCLbNec6KsI1B CaNM10YXkn2s16xr7CXMFvfpOoLrhWWvgY7PwUoBVTs8gZBtX9tzXCIr1QDR5J+Zg7w7 cY1dKGigGPsLFB0Icev6TH35r/B7pBt3S6DA97HRPbfm3aTcgS92FiCL5sL5gEW9msRd GO0g== X-Gm-Message-State: AOAM5339CFmRkCb/J5wIfiplMKTXzc4w8BKqq8rLPvlLA1q4JBSdfDZC RXUCPPsw3/HDI0JLTj05u0aH/d8Vg80g8A== X-Google-Smtp-Source: ABdhPJwsYXdbHr7lCZriH0/82+iIj0K6xR6VWQSP6+pPkBdDyb7ogFEs1NlZGQpGAY7kGVDfBzcLyQ== X-Received: by 2002:a63:df0f:0:b0:3aa:436f:8784 with SMTP id u15-20020a63df0f000000b003aa436f8784mr20938313pgg.514.1651001239114; Tue, 26 Apr 2022 12:27:19 -0700 (PDT) Received: from x1 ([2601:1c2:1001:7090:9bcd:e060:b370:70d8]) by smtp.gmail.com with ESMTPSA id o2-20020a62f902000000b0050cfb6994e2sm13327322pfh.130.2022.04.26.12.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 12:27:18 -0700 (PDT) Date: Tue, 26 Apr 2022 12:28:18 -0700 From: Drew Fustini To: Rob Herring Cc: Krzysztof Kozlowski , Nishanth Menon , Santosh Shilimkar , Dave Gerlach , Tony Lindgren , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Keerthy Subject: Re: [PATCH 1/2] dt-bindings: wkup-m3-ipc: Add ti,scale-data-fw property Message-ID: References: <20220425052806.484590-1-dfustini@baylibre.com> <20220425052806.484590-2-dfustini@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Apr 25, 2022 at 11:22:20AM -0500, Rob Herring wrote: > On Sun, Apr 24, 2022 at 10:28:05PM -0700, Drew Fustini wrote: > > 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 > > The location of firmware files is up to the OS. > > Is there other firmware? If not, 'firmware-name' is the somewhat > standard property for this. > > What's the default name? Thank you for the suggestion. I will change it to firmware-name as this is the only type of firmware that this driver will need to load. There is no default name for the firmware. The name depends on the board being used. The current [1] possibilites are: am43x-evm-scale-data.bin am335x-bone-scale-data.bin am335x-evm-scale-data.bin Thank you, Drew [1] https://git.ti.com/cgit/processor-firmware/ti-amx3-cm3-pm-firmware/tree/bin?h=08.02.00.006