Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp106777yba; Mon, 20 May 2019 05:50:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLrvxFOEs4uaDaIlbBIKCk6EKiwT4ArWikru9fQ4ncdWL+1pwVvzLaz7V/JaibFeGfxwCp X-Received: by 2002:a63:c203:: with SMTP id b3mr45103218pgd.398.1558356604305; Mon, 20 May 2019 05:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558356604; cv=none; d=google.com; s=arc-20160816; b=mI1BFLsKKBTCMif7dUTul/aXit13QTLc07Lb+ucXNr1ieTbJ/4vbrXVvwtnAiBNm/v gMupnXgzZ4fmAanp8hrSJ2dxEolIzbQyRiViku0qymNaK2VJfjK9U0qlKlsf0Bn7CzKe 7I+vu415aVbOZS6tYwRIGnAU5LVDJKdMQ5mok0Ko3xXYmy8jM/GG1Guw/AIVxphZ58ao jf5xMVpTPC2HZW0aEFB5V921mylk2h0d5k6zBr/1Nq2bz3ZKk/yPaBprRn4iKDoLgBQY jqel+ZMzRsrq5EffJzip3RvVCmdSlDvqVct3xUTYffJl/tMB7pSgjBFRyuzlo8MHeUUF McYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ur3pC0DIo+OhIRUTOm+NnOHfN9nb1jLFaqAQvdBtmfo=; b=zdEo01+ADZwRGReK3pA69RtcIbEXySmcvJ1CjbSEbzNtwXggF362kiO+YmzQQgq68M MOGEtaG3C3wf6Uench04Qj+ZWO7MQp3g8n2OKitYVF3uB87TaeoB4oVvA7+PbXBLT0P2 fOxF6wTxEHSjlZgwvXl9RPBCb5OH8yMpO0+EnEbRUqyx3ZXSjHkAfrz6O1aOnhrratzc SnAxje3JSMTpzBkM2ubrLDdwbjV/PkaK/ZgOjUT5RoxIxz0sigrccMGaSCz5ukhc2q5e dTmaZU+W/90Y/DwJtzpbSWGJU16iwPoVSTLv5CDt37muhsIjwKiMwilu2jKvvIAXfjXW a3dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=koTnrXlQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si3747938pgp.307.2019.05.20.05.49.49; Mon, 20 May 2019 05:50:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=koTnrXlQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389475AbfETMsG (ORCPT + 99 others); Mon, 20 May 2019 08:48:06 -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: 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