Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2108944lqo; Mon, 13 May 2024 08:07:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4UZwWWsEihm2rNTvHkgWIiyOdCcNOKoKKqwE9RbN2QqvlMz4ri8YDmF6xDkF5V7kyKTfJsxX3AFhiqqYQclaHiKfLAdlMEl5QoZiNpg== X-Google-Smtp-Source: AGHT+IGe/Pb9XdjfZSdw+sPfjEI7vwFSefAGBMt4MOUk1zypFbEOfAs8+w8xujse5ZQyeyiPP/pc X-Received: by 2002:a17:902:d2c4:b0:1ec:304e:90c4 with SMTP id d9443c01a7336-1ef43d1407dmr121533355ad.17.1715612870229; Mon, 13 May 2024 08:07:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715612870; cv=pass; d=google.com; s=arc-20160816; b=JI3RKNMBq1OYKCmqEz5mjfa6RyzG9V/P+8ryT3aFnU0NRNPboJi0DE7kHaVjfHR83b JjDefwfVrV68yJ6p0Tgsx7Axu7z+k29agihe+P6mDElMKttdZOSgzVMtJZqqA/9cL+2J A3RdoKfDDHNn4cfpbtancMlJkDGkJt2QVnRgBRK9L08LGQfGAgyflZ/pq9KLg19JAll0 lO4ea7chEHdlGIxRoqOXUOmpA4su96Y1j832+lHarP4eXVmW6+JQ9cakUb2rxjcNLl+M xxAMZI3zcEaLBXexMTBkYd55qhzq5VUrFTpju61EiNA6zMIzXYrN1aec2lIr+FvE34XM h9SA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CLtRBcrV8ZA4r12w3/CUqBvLBUpcesXFzphIqIUvDqI=; fh=Yq6hTelzdKMK5hrrHtAdLeb52HcwWyZA3wrxBlY//bk=; b=0i5QGVJRx/yxaIpUnUEQwvSRTVxrzpfaliKehP3eXNwBn67GWBU9RpWwARFhbYCtkW 9kKfRmNpUwpPuruWKhvj4cyiFMEO4XT4QHhovZXh+2pgKgRUc8IXi6z9FT7zotj2bW1f Ass2PMtg/1plzSkDZBd/T8u2Ms6BSGwqXjys+OZ+zBTZDxOTPvESdYC4uKM/34mohEjj j5dRDeQclMncj6ELk8LMVHcODH6lXQdMGToG8kcS09yx0FIVY7htH4B5w7THMJ1VZjIW Gesf1fhSvlEzOlNs6Ow9P1lcL4KnG+hwMjnE9rNlfhTinc3cxG1/7NoTnhwIm7tD5lA1 FetA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=E5P2q4Xq; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-177728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf32bf4si55026225ad.253.2024.05.13.08.07.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 08:07:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=E5P2q4Xq; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-177728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B637628461A for ; Mon, 13 May 2024 15:07:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD04014F9FA; Mon, 13 May 2024 15:06:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="E5P2q4Xq" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7285256457; Mon, 13 May 2024 15:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715612814; cv=none; b=n/eA5p6UMopFgHMY7tyz6yN19nTnOiHJuPXeSykDTx+tHe3RdTyMim6hqyq7N32u1L65kxxfYZJld6cTRTLa2uIUEK4NDkVQu5rMwDiYv222lFcz7CgeyLCryxIZH8ON5hs6lLoJ+uLKN88Kr14xHCZYtc9Zm6MQ0OXGh9lfWdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715612814; c=relaxed/simple; bh=2yMEGAxyJ4o4Wyner8ON/55yiOqoOvkjWG5UCt5EFdw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DglgLD2i7BzR0yphkUV/TlgtcxwfULCVFpcjJw8r3WkAu8HAI0fihRxdx6xhBYQJsk7GpWVL0/qAE1v/PAz7TxyDvxgA7DzHftzkAqtvytwcplh/8VdbtO6ucKve1wTzjnvIHXMqY1jzHRvv5NdBguqp5YgQoonfEKn9Faz8qbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=E5P2q4Xq; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2175D87F13; Mon, 13 May 2024 17:06:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1715612811; bh=CLtRBcrV8ZA4r12w3/CUqBvLBUpcesXFzphIqIUvDqI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=E5P2q4Xq5fp2GI3FBySbulplbyp7OSFmdeDoMVRX2M27BCFa+wJoh4amCTdiGNjbj xH7+IjNER94wmrkItXZwXbcgwpLrvefr8QdDQZmCL8Yy4S+scPB/1LEycZ2QD2GtnI MHUAK4PJ6MBiORbIe+RBqpVbcMzMZxHCRWajYKLBdpSS+foHjqENVDtsSvzVovDTIO seJJTZV99wJ2L8+LfRq6+Hf8q2KZ2+P2JoXrj8RUeDu+pO7Gp01s5CXNM5U+3wXK9N LY9NxpZRPNrUFgUCO1x9D7HwHTS5XJsGm3mrKbBgEa2n6lP3qI1q718kODYBpXo6/3 XpxbGKKHs/6Pg== Message-ID: <615dfdcb-cbda-426f-895e-810f03a8ce60@denx.de> Date: Mon, 13 May 2024 16:34:20 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 To: Patrick Delaunay , Alexandre TORGUE , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Pascal Paillet Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20240513095605.218042-1-patrick.delaunay@foss.st.com> <20240513115601.v3.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> Content-Language: en-US From: Marek Vasut In-Reply-To: <20240513115601.v3.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 5/13/24 11:56 AM, Patrick Delaunay wrote: > Add new compatible "st,stm32mp13-pwr-reg" for STM32MP13 SoC family. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v3: > - Replace oneOf/const by enum; solve the V2 issues for dt_binding_check > > Changes in v2: > - update for Rob review, only add compatible for STM32MP13 family > > .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml > index c9586d277f41..c766f0a15a31 100644 > --- a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml > +++ b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml > @@ -11,7 +11,9 @@ maintainers: > > properties: > compatible: > - const: st,stm32mp1,pwr-reg > + enum: > + - st,stm32mp1,pwr-reg > + - st,stm32mp13-pwr-reg Should the st,stm32mp1,pwr-reg be treated as fallback compatible for st,stm32mp13-pwr-reg or not ? In other words, should the DT contain: compatible = "st,stm32mp13-pwr-reg", "st,stm32mp1,pwr-reg"; or compatible = "st,stm32mp13-pwr-reg"; ? Which one is preferable ? I think the former one, since the MP13 PWR block could also be operated by older MP1(5) PWR block driver(s) without any adverse effects, except the SD IO domain configuration won't be available, right ?