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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 A6B5CC04E87 for ; Mon, 20 May 2019 12:52:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 723592177B for ; Mon, 20 May 2019 12:52:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558356758; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kEzAifypkF5NDs6u8ffM9CKrNyE3ey209UmXR9Zb3jOe7FLzaam0lV/nnnwe8Ui+p OvTQ0B/aWSTp1MESmry2XYnMDBH6rGYrFFvOc/0cnFwMJPUzMnIB5QUmDvC/yrX9bh Fnq8SygEbqaSjVBPPMz7xIdBYRJQNXXhJOGdL1fM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731745AbfETMTb (ORCPT ); Mon, 20 May 2019 08:19:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:60860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731671AbfETMT3 (ORCPT ); Mon, 20 May 2019 08:19:29 -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 D6B1E20656; Mon, 20 May 2019 12:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558354769; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jVaRXVROLHHEWh9VwhBlQFmASw+nRLABTIyKdEYTQSaGysX2v1wD1I3ijQk0Ur4JY wTjmLkT3FJeklSK64cf7qCWZ3TYaAzYFvZ5Cm7a723VbFnGJ23KugS1inrFvGwv06W I9KS0PIUI5R8A8QK9fH2ECYZybpQSMwoVk6uo1uM= 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.14 35/63] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L Date: Mon, 20 May 2019 14:14:14 +0200 Message-Id: <20190520115235.157532022@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520115231.137981521@linuxfoundation.org> References: <20190520115231.137981521@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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