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 X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,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 E8FD7C28EBD for ; Sun, 9 Jun 2019 16:57:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B610D204EC for ; Sun, 9 Jun 2019 16:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560099466; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=g5uxgqyQBw47ar1y6nShT5u49X1YIdHMjloDBkjx2DuRn7mz5iHpUeAUzwdVJ2W0u AOaVqRwzUZceHh7scWPoVr6T4g9f1wsHHEdpuDLjhtbFa9z9sECnRE34SJhWu+Yx71 6satWAc2x5GN39TwNDD0miqaYvVqrcb5CvLMHEUQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733237AbfFIQ5q (ORCPT ); Sun, 9 Jun 2019 12:57:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:60822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733223AbfFIQ5m (ORCPT ); Sun, 9 Jun 2019 12:57:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 35AAC204EC; Sun, 9 Jun 2019 16:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560099461; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nA/O8zC9JOlpiZUIm8xdm5+kYdGkf+Vz23kuZ6c3FLqqWDWsrsKu6T+1QOlwjE2DO crYX5ihWBF0AC6b7rRGJFuEfkdnFnOimcmqekTdf+XFHSLeLI3joOxkbgxqrm2pjej DYYODNUEWyuVaf7aI/BSP3lP/ReiSzL4owVOsXzs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Steve Twiss , Lee Jones Subject: [PATCH 4.4 014/241] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L Date: Sun, 9 Jun 2019 18:39:16 +0200 Message-Id: <20190609164148.197045607@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190609164147.729157653@linuxfoundation.org> References: <20190609164147.729157653@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Steve Twiss commit 6b4814a9451add06d457e198be418bf6a3e6a990 upstream. Mismatch between what is found in the Datasheets for DA9063 and DA9063L provided by Dialog Semiconductor, and the register names provided in the MFD registers file. The changes are for the OTP (one-time-programming) control registers. The two naming errors are OPT instead of OTP, and COUNT instead of CONT (i.e. control). Cc: Stable Signed-off-by: Steve Twiss Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- include/linux/mfd/da9063/registers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/include/linux/mfd/da9063/registers.h +++ b/include/linux/mfd/da9063/registers.h @@ -215,9 +215,9 @@ /* DA9063 Configuration registers */ /* OTP */ -#define DA9063_REG_OPT_COUNT 0x101 -#define DA9063_REG_OPT_ADDR 0x102 -#define DA9063_REG_OPT_DATA 0x103 +#define DA9063_REG_OTP_CONT 0x101 +#define DA9063_REG_OTP_ADDR 0x102 +#define DA9063_REG_OTP_DATA 0x103 /* Customer Trim and Configuration */ #define DA9063_REG_T_OFFSET 0x104