Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1459788pxf; Fri, 9 Apr 2021 08:56:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwILl+nb6HL+cBZYD/CcF8POus265oBmkUNV8h5DCoyUbFkZFVA1CDgBV9euHnibh25v38x X-Received: by 2002:a05:6402:150e:: with SMTP id f14mr18306963edw.63.1617983815523; Fri, 09 Apr 2021 08:56:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617983815; cv=none; d=google.com; s=arc-20160816; b=EoYlgCNlI9L46Ne3tTHyejQdFos5GYRJKIWhCV2zocFuq3c1Zb1ikpcUHmXlGdE+/7 +Pi3yB4W/DRYprVQfI7RRqiqTzQ6+yfBVZ2k5swCaISaRJziioAj53eCljwNRjcIAcCE OSFKPb4wLw1U/pCQJT5y/F7QM+SZjHvhwCW+ioOC5aSAlXSKOM6rEbJA50M4iQ9GDeMZ xgr+TuPirHhcyLIZf1Ud3Rapxl+//hBI6twE4pDLMDeVA4xfoasLQJGnc7avekBl6tZQ p+raaHRyiNH6ZzLIJt3uowmM4Xu7CWndmcQErgPepjcvGYy+ztm+PDZq32vQmpviiOhS Z9AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Dfcieb3hsl3TSou9njah+y4/DRVkEbitDAsmfq/1wjo=; b=ugmRzdkVWYgkO9Bu2oPiOrOyd/ZYCO1biSm1xIK1n3kKAhcc+Hh8aqBFKy+LkvwA7m uOrmplLNqGHRQB2Tr1V9BGRrKNkX3jQmuxvCCvdogaPac4ZZKWXmcBBs+OViuMs2ljBk +RgMKPX+crMMq+6kkOBe7chP3r0SQqqY4ZQamnoOSKUboAi7VNIdE9pwu6h7mVqWTtSC otLDBjjdh6r9nUy3PtaVans60NZeVnTvsUAOKURnCWgzCami7L4bz7c3MASHxMd9BAS1 /YrrltOHy//Yn2uBx+r01N8uZ6w29D77cVovqkEy8VcJFtASSZYFgWHXrrDwf0WeeVGj eX1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si2491497ejb.398.2021.04.09.08.56.32; Fri, 09 Apr 2021 08:56:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233932AbhDIPyS (ORCPT + 99 others); Fri, 9 Apr 2021 11:54:18 -0400 Received: from router.aksignal.cz ([62.44.4.214]:36874 "EHLO router.aksignal.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbhDIPyQ (ORCPT ); Fri, 9 Apr 2021 11:54:16 -0400 Received: from localhost (localhost [127.0.0.1]) by router.aksignal.cz (Postfix) with ESMTP id A35454120F; Fri, 9 Apr 2021 17:47:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at router.aksignal.cz Received: from router.aksignal.cz ([127.0.0.1]) by localhost (router.aksignal.cz [127.0.0.1]) (amavisd-new, port 10026) with LMTP id 3TNc_6uVMz8A; Fri, 9 Apr 2021 17:47:26 +0200 (CEST) Received: from pc-gameroom.prchals.tk (unknown [83.240.30.185]) (Authenticated sender: jiri.prchal@aksignal.cz) by router.aksignal.cz (Postfix) with ESMTPSA id 5F65141212; Fri, 9 Apr 2021 17:47:25 +0200 (CEST) From: Jiri Prchal To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Christian Eggers , Jiri Prchal Subject: [PATCH 3/3] nvmem: eeprom: add documentation for FRAM Date: Fri, 9 Apr 2021 17:47:20 +0200 Message-Id: <20210409154720.130902-4-jiri.prchal@aksignal.cz> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210409154720.130902-1-jiri.prchal@aksignal.cz> References: <20210409154720.130902-1-jiri.prchal@aksignal.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added dt binding documentation. Signed-off-by: Jiri Prchal --- Documentation/devicetree/bindings/eeprom/at25.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at25.yaml b/Documentation/devicetree/bindings/eeprom/at25.yaml index 121a601db22e..f9191b67080d 100644 --- a/Documentation/devicetree/bindings/eeprom/at25.yaml +++ b/Documentation/devicetree/bindings/eeprom/at25.yaml @@ -4,7 +4,7 @@ $id: "http://devicetree.org/schemas/eeprom/at25.yaml#" $schema: "http://devicetree.org/meta-schemas/core.yaml#" -title: SPI EEPROMs compatible with Atmel's AT25 +title: SPI EEPROMs or FRAMs compatible with Atmel's AT25 maintainers: - Christian Eggers @@ -31,6 +31,7 @@ properties: - microchip,25lc040 - st,m95m02 - st,m95256 + - cypress,fm25 - const: atmel,at25 @@ -48,7 +49,7 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072] description: - Size of the eeprom page. + Size of the eeprom page. FRAMs don't have pages. size: $ref: /schemas/types.yaml#/definitions/uint32 @@ -101,6 +102,7 @@ required: - compatible - reg - spi-max-frequency + # these are for eeproms only - pagesize - size - address-width @@ -127,3 +129,9 @@ examples: address-width = <16>; }; }; + + fram@1 { + compatible = "cypress,fm25"; + reg = <1>; + spi-max-frequency = <40000000>; + }; -- 2.25.1