Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2037590pxv; Sat, 24 Jul 2021 03:26:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrWtr3o2/ansqPwtZ9A9nEmL+Be51JJCSEWt8I3i8RKwhnFnS9c6yQEVyWyjQws9UuYTMr X-Received: by 2002:a17:906:c055:: with SMTP id bm21mr8610968ejb.350.1627122394390; Sat, 24 Jul 2021 03:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627122394; cv=none; d=google.com; s=arc-20160816; b=F/Xn9bh0tRmQOH8amlvwnq50pHQJGUqVNwzQzFjPXVkjHRc9/nR/ffl9A2/NAbpflv LnV+3dt1QhbmPdT4QiDvZdg2rIS8BDDGXJpt/+hiPNyjuq9QHOATwU7uWxzzhuxhixwG 7ePHp7VoJGxDIe43aanllgb7bIHQknsEpngW1SY8rKZEb9XimRvtjHSj9UEOTrdeFKmR utrM69rm7djxs0d15rrjZFSWAtL5rEBRexIVoTCxlNCWntVfXvOfCxA18dbJVawc+X3w i4kLiUbXuohf/8zHAOmGYzWbK89InHdk1pYJqSdW5YuObr3hwGjkDeEJnHoLqfPrxMar tMsA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sM/Ucp4EH7+uWj+Jk0pHCL12ERUXCO9+4NQaF2iS1dc=; b=vLx+JXVE+tW5ahk3LD4nsh+LoP0dsNpMYh26QOorfWOp2Zo/8NtbQftObSCcNVwg5U l8BTx5noEFp3UO6zUxjsuy3wxL8Gx3Z/PRGBh9PBbrWpYOJZrYacj2IuplCsuIWafJVL UYHJYW4qz5i5cmX/tfYFK2VMGDep4m7piAouAaJXEhU5lZ9QahWhSLS088pLnWdrnPr5 zoR2EZLk2l7kX1qSvepdxmyL6wJX1KS4hIWW5cYimHHghMJn/GSOAZ3MIUSDN1ZVFMFV ZdDDM+zM3/iusckA6MkVRx+uvXe+GcEYA7vPvBRE1kaCEr6TFCPbS17g5LsWBRD/G+7n bndQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="TP/22rBm"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc43si4392331ejc.1.2021.07.24.03.26.10; Sat, 24 Jul 2021 03:26:34 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="TP/22rBm"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235041AbhGXJoH (ORCPT + 99 others); Sat, 24 Jul 2021 05:44:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:40258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235164AbhGXJmS (ORCPT ); Sat, 24 Jul 2021 05:42:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 589BF60D07; Sat, 24 Jul 2021 10:22:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627122165; bh=xrzdaky1jXwZzHuj3uvir0PDOvFShyxwGIbATejD61U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TP/22rBmS5qt0gkT+VQItc0LQ42UIDPU6NgBUvc3oFR2r3fDcCvRfB+1gPVGRutkG AJ8MG8r9N3FFcJmp5AE8ksZBAp3rePPQX0M+ZldvOaE738t4O3ZLSIuBH+2l/4giA7 cnyot6Mgq2w+UrcCC2CwsRGSLOMF1Hbv0CLRkwXtpZxt10orSwLIZCBDQvu8E5WNVN HEkUz6h1E4CeR229dluOHjEbbZLHm5oKtFPevMvDf5nyn1E923DSUuFiJl2fk3Hd7Y k2wiMaNvCW6M0oPWVY4WqZxEss0C+n+FxeI47hu3DQkTVPVgXh3/Dh22/IMILsOhWG rHyVZOwUG5DDg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1m7Enr-00BJmw-1x; Sat, 24 Jul 2021 12:22:43 +0200 From: Mauro Carvalho Chehab To: Mark Brown Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Liam Girdwood , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 1/2] regulator: hi6421v600: use lowercase for ldo Date: Sat, 24 Jul 2021 12:22:41 +0200 Message-Id: <395510cffeb39aebd1763cc5de1cb00a2c40e461.1627121912.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As lowercase is generally preferred for node names, while it is not too late, change the LDO DT properties to lower case. Suggested-by: Rob Herring Signed-off-by: Mauro Carvalho Chehab --- drivers/regulator/hi6421v600-regulator.c | 36 ++++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/regulator/hi6421v600-regulator.c b/drivers/regulator/hi6421v600-regulator.c index 23cdf90944e9..f71e7661b6d7 100644 --- a/drivers/regulator/hi6421v600-regulator.c +++ b/drivers/regulator/hi6421v600-regulator.c @@ -73,14 +73,14 @@ static const unsigned int ldo34_voltages[] = { */ #define HI6421V600_LDO(_id, vtable, ereg, emask, vreg, \ odelay, etime, ecomask, ecoamp) \ - [HI6421V600_##_id] = { \ + [hi6421v600_##_id] = { \ .desc = { \ .name = #_id, \ .of_match = of_match_ptr(#_id), \ .regulators_node = of_match_ptr("regulators"), \ .ops = &hi6421_spmi_ldo_rops, \ .type = REGULATOR_VOLTAGE, \ - .id = HI6421V600_##_id, \ + .id = hi6421v600_##_id, \ .owner = THIS_MODULE, \ .volt_table = vtable, \ .n_voltages = ARRAY_SIZE(vtable), \ @@ -185,46 +185,46 @@ static const struct regulator_ops hi6421_spmi_ldo_rops = { /* HI6421v600 regulators with known registers */ enum hi6421_spmi_regulator_id { - HI6421V600_LDO3, - HI6421V600_LDO4, - HI6421V600_LDO9, - HI6421V600_LDO15, - HI6421V600_LDO16, - HI6421V600_LDO17, - HI6421V600_LDO33, - HI6421V600_LDO34, + hi6421v600_ldo3, + hi6421v600_ldo4, + hi6421v600_ldo9, + hi6421v600_ldo15, + hi6421v600_ldo16, + hi6421v600_ldo17, + hi6421v600_ldo33, + hi6421v600_ldo34, }; static struct hi6421_spmi_reg_info regulator_info[] = { - HI6421V600_LDO(LDO3, ldo3_voltages, + HI6421V600_LDO(ldo3, ldo3_voltages, 0x16, 0x01, 0x51, 20000, 120, 0, 0), - HI6421V600_LDO(LDO4, ldo4_voltages, + HI6421V600_LDO(ldo4, ldo4_voltages, 0x17, 0x01, 0x52, 20000, 120, 0x10, 10000), - HI6421V600_LDO(LDO9, ldo9_voltages, + HI6421V600_LDO(ldo9, ldo9_voltages, 0x1c, 0x01, 0x57, 20000, 360, 0x10, 10000), - HI6421V600_LDO(LDO15, ldo15_voltages, + HI6421V600_LDO(ldo15, ldo15_voltages, 0x21, 0x01, 0x5c, 20000, 360, 0x10, 10000), - HI6421V600_LDO(LDO16, ldo15_voltages, + HI6421V600_LDO(ldo16, ldo15_voltages, 0x22, 0x01, 0x5d, 20000, 360, 0x10, 10000), - HI6421V600_LDO(LDO17, ldo17_voltages, + HI6421V600_LDO(ldo17, ldo17_voltages, 0x23, 0x01, 0x5e, 20000, 120, 0x10, 10000), - HI6421V600_LDO(LDO33, ldo17_voltages, + HI6421V600_LDO(ldo33, ldo17_voltages, 0x32, 0x01, 0x6d, 20000, 120, 0, 0), - HI6421V600_LDO(LDO34, ldo34_voltages, + HI6421V600_LDO(ldo34, ldo34_voltages, 0x33, 0x01, 0x6e, 20000, 120, 0, 0), -- 2.31.1