From patchwork Tue Apr 26 17:59:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 12827696 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 6423EC433EF for ; Tue, 26 Apr 2022 18:01:33 +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=/KIypp3VU0CpGhXWRPwFGqusoOO/BwmY8X9A0wG/nNo=; b=DAgGxEYdgY4ODz NxMY0TmryqDa8Y7HtDMEMbJ8yyIE/RKBOhc0YmWU/866s/sVxM3OMAqkEiEobVXI2vSLS2HkbRPTl WPTzfGqitxUxhi7OuI/V8oCEo9W3OEdZkz4dP4UOkd9+qa4llA2gRkijOLym+fTnKAYBVBIX1g2H8 QNS/rTL01T2WfbXgnU9x2DS3j2Be3cm8UR+mWRrOqbAsa/6qET9t9f8a8h8XyOS127vVj9keXyUBc k/T1TdgXDV4wD+VRHetrwo/orRAktN27GX+2H+t4MfumqDpDWnuWr+flZ0x8YFuvd2nUjSsl76XRB Pq96TmPvaIfANK4P+TDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njPU7-00FaFq-Ap; Tue, 26 Apr 2022 18:00:23 +0000 Received: from mail-oa1-f53.google.com ([209.85.160.53]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njPU4-00FaEt-01 for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 18:00:21 +0000 Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-d39f741ba0so20171187fac.13 for ; Tue, 26 Apr 2022 11:00:16 -0700 (PDT) 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=SkneqWq9FDny4rMtUcZ44P/OejiG2SCIexlA/0LO6kM=; b=nk/8pkEL81wDQYUVNuYYaQXCUAVVCcOEktqzHVh5s+Oqv14pcRDuWwYnctMw99uYlR 0/0i8eJbQdNVUxQGZpea+vmxAodFqrktAEPh/+bae2z+6ORiynDPdO+xb5v+RdgK1/ld iCv6A64Vj0SludxB+sYN4rs8Wqdf7ueoIi9me7ep6kA8m7yTgSA1Z3+iJsEReGKRdAfa 1LArEbYY1r4+eQEhCaP+1dwVRKXIRHBOBLDPI3INzuwlWZfz1IYmffPEcVgnPSXSui5u MF4cVkOdtALEZ30lSPDS6ypdbBDyxkNV84HgDlDntJUOrkiCxWl5O/ZkC/WDMe4FTg04 j4Pw== X-Gm-Message-State: AOAM531D+3dNb/SU0FV5SelV65B+KHntN6lOBXNrIrzsD1huhXVoipN6 vE9TD7yq+yxDhTfzfCzMkw== X-Google-Smtp-Source: ABdhPJzlFNfKsmBnTcOItHrKkQhyv1JiJiGqQa16jK+6PcJrp7RHk9StcPftCzLIwKnUKvS04f7WaA== X-Received: by 2002:a05:6870:b39c:b0:d1:4a9f:35f9 with SMTP id w28-20020a056870b39c00b000d14a9f35f9mr9164098oap.119.1650996016098; Tue, 26 Apr 2022 11:00:16 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id y23-20020a056808061700b00322e73cd18bsm5028505oih.16.2022.04.26.11.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 11:00:15 -0700 (PDT) From: Rob Herring To: Bartosz Golaszewski , Krzysztof Kozlowski , Alim Akhtar Cc: Bartosz Golaszewski , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2] dt-bindings: eeprom/at24: Add samsung, s524ad0xd1 compatible Date: Tue, 26 Apr 2022 12:59:39 -0500 Message-Id: <20220426175938.2262966-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_110020_077203_D614A964 X-CRM114-Status: GOOD ( 13.26 ) 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 The samsung,s524ad0xd1 compatible is in use, but not documented. According to arch/arm/mach-s3c/mach-smdk6410.c, the samsung,s524ad0xd1 is compatible with the 24c128. As the schema requires a fallback compatible to the corresponding Atmel compatible, 'atmel,24c128' is added as a fallback. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Acked-by: Bartosz Golaszewski --- v2: - Fix the example in samsung,s3c2410-i2c.yaml Documentation/devicetree/bindings/eeprom/at24.yaml | 4 +++- .../devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 6b61a8cf6137..d14e0accbda8 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -120,7 +120,9 @@ properties: - const: giantec,gt24c32a - const: atmel,24c32 - items: - - const: renesas,r1ex24128 + - enum: + - renesas,r1ex24128 + - samsung,s524ad0xd1 - const: atmel,24c128 label: diff --git a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml index c26230518957..3d5782deb97d 100644 --- a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml @@ -123,7 +123,7 @@ examples: samsung,i2c-slave-addr = <0x66>; eeprom@50 { - compatible = "samsung,s524ad0xd1"; + compatible = "samsung,s524ad0xd1", "atmel,24c128"; reg = <0x50>; }; };