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,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 EBFC6C04AAF for ; Mon, 20 May 2019 12:48:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C202220645 for ; Mon, 20 May 2019 12:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558356493; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=jY2LuytNwURGhoFeyk/7+beMPAfyPk22YbU05Y9SbskE4xGczjcAyduN5s1FjmFbP HyLSkjiSEl9rOWM1hKUIozEjsO0IPNh1rUQzUhBqYag8WF7lugRX7Vhk49dTHRQq8e G0+Zl4dShGjgxY2oQC0tTaid1XbHgF7r0Vo3Ftyo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387926AbfETMsF (ORCPT ); Mon, 20 May 2019 08:48:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:37712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387859AbfETMXV (ORCPT ); Mon, 20 May 2019 08:23:21 -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 C327320675; Mon, 20 May 2019 12:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558355001; bh=47h56TplLtOuTZk9bZBytonkt83xqba2oE7Wh9cojE4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=koTnrXlQTiXM1uUqQdszqjLB+F+txVnaq+uF0dOo3dqIgcQ3beOmjJelP2f2Ae21Y lvkET2PQcynnIXQYMSvkIA1+Cvn79kU1UnsqYHcL+kNEC5VvmcHcD81Ah77lpQSdIN xPt1cWRTcIkLlgJX/3rYhWFFRsjqmOlB3DVuwZHQ= 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.19 060/105] mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L Date: Mon, 20 May 2019 14:14:06 +0200 Message-Id: <20190520115251.271410956@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520115247.060821231@linuxfoundation.org> References: <20190520115247.060821231@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