Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1937492pxb; Thu, 16 Sep 2021 20:55:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSBeJsB7t84EqLglvoMhDJE2hpqFRTpU4pb+pI+x5GiJyYV/uWd/cotYQn1x3sLGl5gkta X-Received: by 2002:a17:906:3845:: with SMTP id w5mr9811441ejc.22.1631850911559; Thu, 16 Sep 2021 20:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631850911; cv=none; d=google.com; s=arc-20160816; b=bh0x4dDCS5t0MUsig6RAlQtFOdUraBsf387Gr3Tw99PLA8VtNXFd/wEbJjdbkLXcRV f1f4yj1k3bzoKOJffU2JqJxLcNB00zf+b5QythePuFKuimtg9CDjJx7cS9oH/GqVzQKv IWj7MQPHzPLTuCoQ22ZtGl0cw/upeqEwDDaYZGL+gkUsBNzygSQDtJ+mS+PvgHnFAzRu ApHA6qLw2QIxi57hXNS516d/ok+40BqwJ7T68gkSuQ9SwD8cVPVj82e7DJX6bxwjk9en +5IDOXh5/5SWyLLAJmmJiffgSbD9Hi80Wfval/Uz4zAMNRTyloNh97sgJGTumfFF6M6Q 20zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CesSkqvwy+oPINfQ8ngf10OfT6W0WC6YTrhOo14ONNE=; b=an4TqxKSZiZF2UKur7GWKAkmZlgichDxw7mbyFibIOgQFkZvWjNHDAu+4N5LKPvaEC v7umj4D4DlZlsVNhatBKgfASmV2gQo1hazGlnWqlKTRRivJF7G9OCXKlEOyWjcccV/CX qPtZ+BSsJw8JlwTm/LGkclywo/CwgE+fBg4PrV7lHVAkUCSetgxISmckwDtYoM+ysP5R Yb6xeHoEnDDzVze/C+ft+RsD/Wp6hW+sxB3Y4UzCTxn2Wi2A7EFii+JH3TE2YFUg2iOY EaluSoMVGkOHXyheIVQ90/J4r1zQ31WzAwtOWheipDP+MQyY9kEEvQghoV0TYUXNjYZ6 NBZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YOGG54b4; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi16si6277143edb.381.2021.09.16.20.54.48; Thu, 16 Sep 2021 20:55:11 -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=@linuxfoundation.org header.s=korg header.b=YOGG54b4; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353800AbhIPRfF (ORCPT + 99 others); Thu, 16 Sep 2021 13:35:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:46966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348339AbhIPRZw (ORCPT ); Thu, 16 Sep 2021 13:25:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 28EA761350; Thu, 16 Sep 2021 16:44:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810689; bh=RbQK7DXt1AUNw7ujUS0IVL77fwIheGxdH1R23y+YR30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YOGG54b4DpHrkHN9fUj5FDxX/0ygLFZFVV21gkNu9PVFygm5/Wyav0/pDqEY33xg3 k7DJvd87AEQY3b3ZUgbud7VuJ/X7UHWgIMNPZUxY0D8BA/p0+XyU0jKxmcBdCFXei8 yqcpBa3s6PCiXSOP+alXAaEbywPieoJYE1ANHTN0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.14 200/432] staging: hisilicon,hi6421-spmi-pmic.yaml: fix patternProperties Date: Thu, 16 Sep 2021 17:59:09 +0200 Message-Id: <20210916155817.588173520@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mauro Carvalho Chehab [ Upstream commit 334201d503d5903f38f6e804263fc291ce8f451a ] The regex at the patternProperties is wrong, although this was not reported as the DT schema was not enforcing properties. Fix it. Signed-off-by: Mauro Carvalho Chehab Link: https://lore.kernel.org/r/46b2f30df235481cb1404913380e45706dfd8253.1626515862.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml index 8e355cddd437..6c348578e4a2 100644 --- a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml +++ b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml @@ -41,6 +41,8 @@ properties: regulators: type: object + additionalProperties: false + properties: '#address-cells': const: 1 @@ -49,11 +51,13 @@ properties: const: 0 patternProperties: - '^ldo[0-9]+@[0-9a-f]$': + '^(ldo|LDO)[0-9]+$': type: object $ref: "/schemas/regulator/regulator.yaml#" + unevaluatedProperties: false + required: - compatible - reg -- 2.30.2