From patchwork Wed Aug 4 19:24:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 492476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4EA7C4320A for ; Wed, 4 Aug 2021 19:25:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B8EED61050 for ; Wed, 4 Aug 2021 19:25:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239579AbhHDTZa (ORCPT ); Wed, 4 Aug 2021 15:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234206AbhHDTZ3 (ORCPT ); Wed, 4 Aug 2021 15:25:29 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0073C061799; Wed, 4 Aug 2021 12:25:14 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id m10-20020a17090a34cab0290176b52c60ddso4983595pjf.4; Wed, 04 Aug 2021 12:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZWomF5/fzK3db4iTJOXBkuDt8WfI66mEwZOt7zpgRsU=; b=Vhdd4xnDDMm07B0eakwprt00gDOqJZU6tg+o9WR7fvwFKeSHmyIzGtZqW+gF1Au5b2 H423GJSa1FH9XgbE1zwTPVa3N9VdMEDQiOJPG2fhvcPWOpMof3Ky8MSUssWdAR83nei6 alyRKnlBq3u52egXc8mfmW2PXf3qgpqitAJvPM60kllhWEFt0aLE3A5oMK4qyHzD+dTB JHVsmPTfOmOAZgRvtXvqtrYQVvnNCe8NCHw2Y6IJNBgKPsUZ0h13t+tkxqVt0uKH62dp 7kQBnIEUCQ+G7FSjaVsZCcG/HnYyTmtPzkXWMu7WF6wbY8f7lpWm7KhvrPOxM4hfczi8 0upA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZWomF5/fzK3db4iTJOXBkuDt8WfI66mEwZOt7zpgRsU=; b=L4NvS7uM0ATiPngjW/g+bNh4u09nlgPWjn5hIOGG213Jo5rz6zk4I7kgDnVFkeOIFC JA5m7TMvhSRzIb/egYAMlEMe/6up4zwByl/OC2s4n0cpIpzagJZw+Myts17or07jWNG5 l1mOJxxosCXN5jbgFCTJnA8WCGI0RgjXSry0Y3B+3bnMLx9eqi82f/7Y4eeb+qtLGQ6R +cKzC+24JA+6MbNv70G/uE49Ejh2keDXva6TJs7dw2yR+5X+4MpPcomJSMuiQQO3WBk6 i5mlAJAMAsrkIbbyVH4WUK18/KtS4JSmoOdx8u9JpgEJGGRIX3F1jtV57nCS9b0giGLK uqkw== X-Gm-Message-State: AOAM5300dgw5P5nOlToT5OKyX7yGoTOEGsZk7oiCBkpqRvqxrofxrJi2 hfx7uzPenqPhGX+4HJj7/EA= X-Google-Smtp-Source: ABdhPJxZKtQ0om5vlEBR2OnqwEVYpIccXxcMBK3JcLg18N8ZzfFLjdaNDeCWCQJrsjNV31XhxGK5ow== X-Received: by 2002:a17:902:bf46:b029:12c:75f6:f643 with SMTP id u6-20020a170902bf46b029012c75f6f643mr697560pls.6.1628105114454; Wed, 04 Aug 2021 12:25:14 -0700 (PDT) Received: from localhost.localdomain ([2405:201:2003:b021:6001:8ce1:3e29:705e]) by smtp.gmail.com with ESMTPSA id e4sm1071027pgt.22.2021.08.04.12.25.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Aug 2021 12:25:14 -0700 (PDT) From: Raag Jadav To: Bartosz Golaszewski , Rob Herring , Shawn Guo , Li Yang , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Raag Jadav Subject: [PATCH v2 1/2] arm64: dts: ls1046a: fix eeprom entries Date: Thu, 5 Aug 2021 00:54:45 +0530 Message-Id: <1628105086-8172-2-git-send-email-raagjadav@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1628105086-8172-1-git-send-email-raagjadav@gmail.com> References: <1628105086-8172-1-git-send-email-raagjadav@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org ls1046afrwy and ls1046ardb boards have CAT24C04[1] and CAT24C05[2] eeproms respectively. Both are 4Kb (512 bytes) in size, and compatible with AT24C04[3]. Remove multi-address entries, as both the boards have a single chip each. [1] https://www.onsemi.com/pdf/datasheet/cat24c01-d.pdf [2] https://www.onsemi.com/pdf/datasheet/cat24c03-d.pdf [3] https://ww1.microchip.com/downloads/en/DeviceDoc/doc0180.pdf Signed-off-by: Raag Jadav Acked-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts | 8 +------- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts index db3d303..6d22efb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts @@ -83,15 +83,9 @@ }; eeprom@52 { - compatible = "atmel,24c512"; + compatible = "onnn,cat24c04", "atmel,24c04"; reg = <0x52>; }; - - eeprom@53 { - compatible = "atmel,24c512"; - reg = <0x53>; - }; - }; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 60acdf0..7025aad 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -59,14 +59,9 @@ }; eeprom@52 { - compatible = "atmel,24c512"; + compatible = "onnn,cat24c05", "atmel,24c04"; reg = <0x52>; }; - - eeprom@53 { - compatible = "atmel,24c512"; - reg = <0x53>; - }; }; &i2c3 { From patchwork Wed Aug 4 19:24:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 491919 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DBCDC43214 for ; Wed, 4 Aug 2021 19:25:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7829461106 for ; Wed, 4 Aug 2021 19:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234206AbhHDTZc (ORCPT ); Wed, 4 Aug 2021 15:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239149AbhHDTZb (ORCPT ); Wed, 4 Aug 2021 15:25:31 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F8AC0613D5; Wed, 4 Aug 2021 12:25:18 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id dw2-20020a17090b0942b0290177cb475142so10277996pjb.2; Wed, 04 Aug 2021 12:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8tScWghgvJJh7qP0I7QtmtkqfDVG51M4clJmbqjqTgQ=; b=ZnWDBhWD++BadgftH7K1nhIu2/kbIlPAPqdk+KB6rfYR5zfxlulCtK7SEiI4yDjNZ/ hbn9YQKl9HZgkfFJ8VbfAUJgDBB6IhSMmEetQSpJeL5L1dMQ6b2+AwGtM/M0CRaAnV4T AGh9x8Ar6SXDGXB63J10IWsQqid+kJlau/jM02Qq0Cs8XuPr//0ebtyvHr8uK5mWPMn3 s32HWGi8uC/baMql3bTwSBk/SQc5C8f4DvjP9NoM1HNnE6XOb5edhNOhUiBFcpX377Ep dTbmOvsA0jA5hCcWcYUrTwY/ScM98xdw+oO8nbnMz0YEulseqrDXVwsV3S/XZ4V5g6Pt 0XuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8tScWghgvJJh7qP0I7QtmtkqfDVG51M4clJmbqjqTgQ=; b=dZoMfL6RzmNmxMp8sVWDzJU4hWgTjwdh5Ux4i5vyUpn8n9/ZGrKqvCuQ5gl4zPgwmE gIVTBI0kEWWA5FUSHIrGiWTv1BRDRQD1FotzEpDCFLtkH9jchPZNr/2iP5ccI9I9/bPW us4vDof3iUrf0aU3ri3I2/ahn3QZTlD9ff3OM/mxJYgfMXOrpoJidoNxcoF2MtknYcLu AJkDbwqfkS8FAB621K3GJ4IjURddokoxDtU4FbS6OUD206xDJUaDLDwA/yRwTDftbEVk gv1ueNTpL2WbGXn6HnDOSMlVAOBNgJeT1YOnMFyVmJOjkpX4E+qUBYXr/YDiJaabc3w5 p9Bg== X-Gm-Message-State: AOAM5318yJ70zuhXLeJaYuxjHR9dP9LvcMcDEOcsJFy/y+SvArFzL2lS r0jMsZ8fO3Aum0u75z/kpEw= X-Google-Smtp-Source: ABdhPJx0gs2g+l3cKaYQROekq31B6IDUQtjH2jtMxXo5ZNNWny99f2By5M16OcZlWUQd6Tpg68QEVw== X-Received: by 2002:a62:54c5:0:b029:3a9:d3d9:4fe8 with SMTP id i188-20020a6254c50000b02903a9d3d94fe8mr1252177pfb.36.1628105118275; Wed, 04 Aug 2021 12:25:18 -0700 (PDT) Received: from localhost.localdomain ([2405:201:2003:b021:6001:8ce1:3e29:705e]) by smtp.gmail.com with ESMTPSA id e4sm1071027pgt.22.2021.08.04.12.25.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Aug 2021 12:25:18 -0700 (PDT) From: Raag Jadav To: Bartosz Golaszewski , Rob Herring , Shawn Guo , Li Yang , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Raag Jadav Subject: [PATCH v2 2/2] dt-bindings: at24: add ON Semi CAT24C04 and CAT24C05 Date: Thu, 5 Aug 2021 00:54:46 +0530 Message-Id: <1628105086-8172-3-git-send-email-raagjadav@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1628105086-8172-1-git-send-email-raagjadav@gmail.com> References: <1628105086-8172-1-git-send-email-raagjadav@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Add bindings for ON Semi CAT24C04 and CAT24C05 eeproms, which are compatible with Atmel AT24C04. Signed-off-by: Raag Jadav --- Documentation/devicetree/bindings/eeprom/at24.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/eeprom/at24.yaml b/Documentation/devicetree/bindings/eeprom/at24.yaml index 914a423..4c5396a 100644 --- a/Documentation/devicetree/bindings/eeprom/at24.yaml +++ b/Documentation/devicetree/bindings/eeprom/at24.yaml @@ -98,6 +98,12 @@ properties: - const: nxp,se97b - const: atmel,24c02 - items: + - const: onnn,cat24c04 + - const: atmel,24c04 + - items: + - const: onnn,cat24c05 + - const: atmel,24c04 + - items: - const: renesas,r1ex24002 - const: atmel,24c02 - items: