Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp445769pxb; Thu, 9 Sep 2021 04:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAX/pNHra3kvqLz2fGB8r97h7IwFMMS3I+E179TWmc5MR3VDdeBZ2iFNLHYrNnO/Xo1Dn8 X-Received: by 2002:a05:6638:b10:: with SMTP id a16mr2474589jab.149.1631188012890; Thu, 09 Sep 2021 04:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188012; cv=none; d=google.com; s=arc-20160816; b=aCmrmYtk04e+23zR48hTrdvEJnlWHLGr2IiW33FixmN4+9Y3U0IUqi8s9+NKS6gSyc zDaTNDekVFyLo55PEQKHb0r6DTLwJz4t66ytEQysYwm7MvJBJGxButMrFDYaJJA7TwDr /zZhgAxmf9uLtj60qb/76ZZ5MWKcNPGp5idX6Q7s7lrL+G3JH40BHrx6YkRer7nunzeT wIDYSQxWKPw6vxutNjyLQZnNR6Ia1ssqlFX9eR5iQguIYC3rKTrWmnQbyzx7l+d6Pexf UX2MG54rjfLHpqc3tFLPhNnfnyBvNFUWkJ5kxAgntmTVTaBZ+d43/FWCn/fXaZwji8Az nQRQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CesSkqvwy+oPINfQ8ngf10OfT6W0WC6YTrhOo14ONNE=; b=AMOtcYXpaVAuPXI2zqjo/5ZxY7I45T4NNbvlnjeN+UTNokc1MSopblOlKBxBKND5IL xkhoY5u9ko2ijljU6QjIRlcjrwiPM5jm7NytLXYybH1cBGGVFePI8A2PKaM9gSLvjBus HYR19AltrzAmCsLqbmvNuLNXWr3hEvvuA7/hzU3HtQxisfy6osvQftNGchRrXTgYNPUt CORxVXvK2ocWEBXV7owwTgUpG35fR0IUlXibCHPIN7D0NBl6caAn+3ikGQAjq8bbpE1n /94ymXsPo1gvrZOUJ+MKeLtdOCPKXgpJdlUbEeGMAG7CpHk5zmHbSZNtC7gv7QchVZf+ 6DJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nh5+2H37; 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 c1si1382346jaa.58.2021.09.09.04.46.41; Thu, 09 Sep 2021 04:46:52 -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=Nh5+2H37; 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 S237868AbhIILrF (ORCPT + 99 others); Thu, 9 Sep 2021 07:47:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:46458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236659AbhIILna (ORCPT ); Thu, 9 Sep 2021 07:43:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 30565611C5; Thu, 9 Sep 2021 11:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187725; bh=RbQK7DXt1AUNw7ujUS0IVL77fwIheGxdH1R23y+YR30=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nh5+2H37NZ301CTnzRJd1ZS79NMFICAEqSsyXecv86ZaTogCZyFQ1fiCDyJoNM+Ke siPGtt4tonwf/kzanFZ8mTUZxw5Hc2ADS0J0hNFtDkFii4vY3DMd4IQhJ8A/p/Xm3O BkIHigh30KWP5UFUuv9QVapW5JiOuSiEd2eOXM0qN4+6g5wlr92PLt+JGLW3QRdzKu cv6E3HE8LB+RUnQ7UCj6WY3ePkaFt4H8rVAahIxlzqAopBDv67MQjpyRuAQF3qPEds OercuzPjGCqB9IHpizXV8RRfO4JG/lkHsvxf4E+nVsTENJvxyPml4addKaJOZ4tj9q drbMdtOTALusg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Mauro Carvalho Chehab , Greg Kroah-Hartman , Sasha Levin , linux-staging@lists.linux.dev Subject: [PATCH AUTOSEL 5.14 046/252] staging: hisilicon,hi6421-spmi-pmic.yaml: fix patternProperties Date: Thu, 9 Sep 2021 07:37:40 -0400 Message-Id: <20210909114106.141462-46-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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