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 C1BABECAAD8 for ; Fri, 16 Sep 2022 11:02:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232153AbiIPLCK (ORCPT ); Fri, 16 Sep 2022 07:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232155AbiIPLBi (ORCPT ); Fri, 16 Sep 2022 07:01:38 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63AA0B844 for ; Fri, 16 Sep 2022 03:54:10 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id e16so35379794wrx.7 for ; Fri, 16 Sep 2022 03:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=50kT4WSCwYq/LRrvLhwFs8RTHWYSwsJbzSa3kZ4j5bQ=; b=cWmgXPKvCFH38l6xxpFs7vtOrMQ6WS3OeSmBbOHl/18u3ENBQI1dce+9+snxOQk5IT YEZImu7L7W4U6DKVjITkSpqWfncblOHwObuWtCCxNWtIE9HkfyZEz6HoekSuqcMiFG4n DbYiijQKn+PTZ202HAIBu7QAdePP+svY/f01/IP+DLIy+t+4WXYrNvFjKajj2lXU7I1a 8RM8DRDOXCYQZNNHyqEg9fXsfySTQA9IvZGWI8/+7E/fg9GFKAWJXJLZpm2TndyY1kTC tkkQt1wv8BqpQT8v2YGCndAYf5DiDRLWX5dr+P3fcP36GcHX65+nfIB3IRCHaWKC1Dz1 SqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=50kT4WSCwYq/LRrvLhwFs8RTHWYSwsJbzSa3kZ4j5bQ=; b=2RVg50Lbiq5O8zwCKzzKTKJdhYH3OEbUclzaUaQ/UpCHmcA4KAn6NIhB2cp94vEzWH Fk80PxsqUMSDHy3+qNB+OWPv5S5CyD+f7iJ3guUeYlpTCfmNxJkKqavJxIHuIvYCmaM6 XCaFV9CANQfPsc7ZOq1mFhkB31ddJe/wmjpPJKzWXRGK1B4+lvPTEXvmS0ThrTcf81d6 mNI7qY9Cw3L1WvgSdm7ZUbddT44lV5tfuSvLZVN7b3RWl//e9+VZJc10r6uNJyLiktmN woj5Mj/OSiTY3qhPktcu9yOLWwF7275JHIKoj+KQa5yx4ktDZB0rSVLp+Ux8CJ6Q76xP 3pMA== X-Gm-Message-State: ACrzQf1X4U/oC/+PSnf3qXuFBnCKkZ2oVBG9aX4+waQHp9IvS/knN/2C k9F7kTe7T5nv9ZGEPvaLHxlbyw== X-Google-Smtp-Source: AMsMyM5KeH3ODOLjDZ+5DvUJxRzN9VgYqPm8TdCzCAXPSc7R+xwnk/h2noJ1QunEbdSpiyXrokDJ4A== X-Received: by 2002:adf:f907:0:b0:22a:6b69:27f3 with SMTP id b7-20020adff907000000b0022a6b6927f3mr2594139wrr.174.1663325648358; Fri, 16 Sep 2022 03:54:08 -0700 (PDT) Received: from [192.168.86.238] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id 9-20020a05600c26c900b003a3442f1229sm1705275wmv.29.2022.09.16.03.54.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 03:54:07 -0700 (PDT) Message-ID: <1b27b135-73c3-07f9-5054-be828b756871@linaro.org> Date: Fri, 16 Sep 2022 11:54:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v5 0/2] nvmem: lan9662-otpc: add support Content-Language: en-US To: Horatiu Vultur , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, UNGLinuxDriver@microchip.com References: <20220902064540.484967-1-horatiu.vultur@microchip.com> From: Srinivas Kandagatla In-Reply-To: <20220902064540.484967-1-horatiu.vultur@microchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 02/09/2022 07:45, Horatiu Vultur wrote: > Add support for lan9662 OTP controller that is available on lan9662. > The driver gives access to non-volatile memory. It allows both write > and read access to it. > Applied after fixing some conflicts thanks, --srini > v4->v5: > - add reviewed-by tag for patch 1 > - drop the full-stop from subject > > v3->v4: > - remove lan9668 compatible string from driver > - fix the bindings by changing the order of entries under items for > compatible property > > v2->v3: > - fix dt-bindings, make sure that make dt_binding_check passes > - remove lan9662_writel/readl/clrbits/setbits and use writel/readl > - remove WARN_ON(offset >= OTP_MEM_SIZE) as it can't happen > > v1->v2: > - remove unneed quotes for $ref: nvmem.yaml# > - rename lan966x to lan9662 as not to have any wildcards > - remove compatible string syscon > > Horatiu Vultur (2): > dt-bindings: lan9662-otpc: document Lan9662 OTPC > nvmem: lan9662-otp: add support > > .../nvmem/microchip,lan9662-otpc.yaml | 45 ++++ > drivers/nvmem/Kconfig | 8 + > drivers/nvmem/Makefile | 2 + > drivers/nvmem/lan9662-otpc.c | 222 ++++++++++++++++++ > 4 files changed, 277 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/microchip,lan9662-otpc.yaml > create mode 100644 drivers/nvmem/lan9662-otpc.c >