Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1156921pxb; Wed, 10 Feb 2021 01:13:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaqCfNTDSXL9lGmwfhZcEzBmRNkoSTIwhcD3pe7g3lJVS/k8SJqG7RiE1NF9ttJiXBW3KS X-Received: by 2002:aa7:dc0d:: with SMTP id b13mr2292801edu.170.1612948434266; Wed, 10 Feb 2021 01:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612948434; cv=none; d=google.com; s=arc-20160816; b=DS51htPIrabw+32UwWhmUQoZcIA2xlVdZgL1ryT/bqkLSOIhKxECApHsZlwTmFSe4Z REPTsBDyqzhif1grvfG7nVlUkHJVI/gXaCsLs01rsk1abJghr6LTV2DTAo7/fHcUZsoA ajKxy5MbR6d6S9oGBj+edEeAifOmBWeYvU4U+t9tSzy55HNV56DRNfGVhwbIu5Azg/OH tn0YRh4iFlGSwnYvCnMbw7AWq1AiLwYHpilF2/oQi827VITb0QiDAp3XoMRa3OoRxsr1 Km7cLj4DIwFKP/k6wbNFkbAu0pZ+OfEnQg67INrBgskkDftVkRROSCY9R2lHsm0KwpqP zIWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=14cbO29LuktGiYaDXOwJMmB+J2xlnJQtq+WESBAPEX8=; b=y/lXlAg58+S7J4pdVol5WVsTBpw2G+NYezIiec/EwqaRVJTJicRCiW0oRvcOJCpK5i hCBTMCFvUPZ40YfwZDDBuEGMF3HVaDbGPB1rqD2RyecBlCmzlAdnySWasL9Bj5Q9u99U 7NOSP0+xy/xnZrKfVy+33gjxnkqWyNwcUd1RQop8P0FvGmDJvEjl/EELXg0/juu5b7c8 v0bw3Azq0ST6zSjteuNt+Z7oDW8jNFTV1853Jvehb2YjdicC0DoTozM6nyWXxlbQAk0A l9xGIuI9yvrbXu51KbpYWfX/grtkuWBFMSDYX0/l9B8Enz1cCOHt0aCI9qMknqlRyZv+ NsxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aLrLlunI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si1012071ede.341.2021.02.10.01.13.31; Wed, 10 Feb 2021 01:13:54 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=aLrLlunI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbhBJJFl (ORCPT + 99 others); Wed, 10 Feb 2021 04:05:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbhBJI7K (ORCPT ); Wed, 10 Feb 2021 03:59:10 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1804C061756 for ; Wed, 10 Feb 2021 00:58:29 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id d2so762895pjs.4 for ; Wed, 10 Feb 2021 00:58:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=14cbO29LuktGiYaDXOwJMmB+J2xlnJQtq+WESBAPEX8=; b=aLrLlunIXBW4l/SEpI0298+gRoeV8AZtghYW1QkIuJ/V+OG24lrpSEdjVi5qZudQz5 gjpLHfTyC4a/j6yMuIOPU0TGDotDs2vX/7glIKdahctRamp9fhH3D0vBOWwifzoseHkb 5nhG/KA79EYz1U/3eaOuEnUCZkaiQJubBkisI11f2IoTpiK1o/jlKOfr0pcZVap6kr2f /ub3LS9W+YD9xApR+1fIzbcxP65k0vd31KQLASWvtFdjDwxBu0nwpCBTx6aKuHfKHDJS KzrydVZWCite0l/IgeG6yVmI6RJrVawWnCXiqAGfHcUAKPx374iSzPjWJTMcsaYQoeZd XPQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=14cbO29LuktGiYaDXOwJMmB+J2xlnJQtq+WESBAPEX8=; b=pywl8EZvWsMAfJHl0iR/hXDmy4tUkhYJAs8tt/aAuUHHo1C8c37S4DR9ZsZIbKd7a/ AHFflQBcy6V9li8f8N/JT4z/wk+jVoMBsNO4xQOSNjjWAlk6vCS7lGgINYvRhLuBQ/v9 ywOYalfvZHdWQ6jQyLCTB+2Mw8w3VLzaEXMv0LgrsipH1gAJEga4xPmWwIOegaubWNCj N6GK8vVoeIxEzQr6+aCNsF3YpBnBAbemh0Iun013+Ql8g8GAQQq9c8Vo5McHfDLTYFxI 2jdef4eratOolEnaUoQ35j4d8HAOwoZtVn0M28Jf+8MzGahBsHE7BDUfqqQ4UQOk74Bo oEaA== X-Gm-Message-State: AOAM533RHi80RU0QvPEivtKUmmGR1pBEgNi7x/AqgJd1N/HY+rsGi6AC nCkJ9to49eA2LfscVm/qbCPlMVYLbg9b X-Received: by 2002:a17:902:9b90:b029:e0:6c0:df4f with SMTP id y16-20020a1709029b90b02900e006c0df4fmr2075706plp.60.1612947509380; Wed, 10 Feb 2021 00:58:29 -0800 (PST) Received: from work ([103.66.79.29]) by smtp.gmail.com with ESMTPSA id k13sm1420146pfg.146.2021.02.10.00.58.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Feb 2021 00:58:28 -0800 (PST) Date: Wed, 10 Feb 2021 14:28:24 +0530 From: Manivannan Sadhasivam To: Md Sadre Alam Cc: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, boris.brezillon@collabora.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, sricharan@codeaurora.org Subject: Re: [PATCH] mtd: rawnand: qcom: Update register macro name for 0x2c offset Message-ID: <20210210085824.GD19226@work> References: <1612037236-7954-1-git-send-email-mdalam@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1612037236-7954-1-git-send-email-mdalam@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 31, 2021 at 01:37:16AM +0530, Md Sadre Alam wrote: > This change will remove unused register name macro NAND_DEV1_ECC_CFG. > Since this register was only available in QPIC version 1.4.20 ipq40xx > and it was not used. In QPIC version 1.5 on wards this register got > removed.In QPIC version 2.0 0x2c offset is updated with register > NAND_AUTO_STATUS_EN So adding this register macro NAND_AUTO_STATUS_EN > with offset 0x2c. > > Signed-off-by: Md Sadre Alam Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > drivers/mtd/nand/raw/qcom_nandc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c > index 9484be8..c238a35 100644 > --- a/drivers/mtd/nand/raw/qcom_nandc.c > +++ b/drivers/mtd/nand/raw/qcom_nandc.c > @@ -27,7 +27,7 @@ > #define NAND_DEV0_CFG0 0x20 > #define NAND_DEV0_CFG1 0x24 > #define NAND_DEV0_ECC_CFG 0x28 > -#define NAND_DEV1_ECC_CFG 0x2c > +#define NAND_AUTO_STATUS_EN 0x2c > #define NAND_DEV1_CFG0 0x30 > #define NAND_DEV1_CFG1 0x34 > #define NAND_READ_ID 0x40 > -- > 2.7.4 >