From patchwork Fri Feb 16 15:21:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 202194 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp592711dyb; Fri, 16 Feb 2024 07:32:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOGA7cHCak+hTGsVycQOnpTnkq9WVRFtPJiykT3QJsxfjjvu4YohZ/9fcM3ids/LiibVkHfNek5KsxgnotoGqaS7lFMw== X-Google-Smtp-Source: AGHT+IHqXGS+d2wyYSUUoWfldO3VW+VI+xb5J6U1rSaiOI5c2DOi1r90gp87Szwt7oFqWs4+usvx X-Received: by 2002:a17:903:230b:b0:1d9:bdbc:388b with SMTP id d11-20020a170903230b00b001d9bdbc388bmr6736129plh.45.1708097561264; Fri, 16 Feb 2024 07:32:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708097561; cv=pass; d=google.com; s=arc-20160816; b=nqEcqBdMdiMyPt2WTwPqOJ8sEdhu8mJA02dzWeYMuku6tNoiMGsxuGp5rPCQ9slbth xegx4eUGkgnIQNh+9e2edPOq/ezfDUWZlPi6h/HpUcbUmUORMvh1Btq9Bf8qkvddrLFF uidU6M2lGLwN1wetcp2iT+HaNHeTCHHZo/BmwCAX1vVF3oNUAyOQo6KwI3XPj7PfLmxy UXs5wpQl53rA5PqOXYHZk6aKHgLw43OXkjrSCxK4Mq2xJdOhm2ScxwDF/TGnHfb5v40O WrRZy8863vRobGtW/A3KRm/En+OadWKmf96ssDXB6AyB1EZafC+6rTnorW2Y+hgzXcdO EbdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=vm+3iroGbyWuoF5jlZM3PgqQ4lMktJiL6DeVD6LD+wA=; fh=/wRwIHgmVsrLW9sRFYxTGxZ4FeMBZ7dOboqO3KP8JJ0=; b=mTv+yksRRlwrZGiGFIov4hyextxbSlc3DMmf7aTuxH0+JAbjxdnMdYbbXcnq+YetTt GWuRmqjEvBjFiGjc9dgVF14J8E+pMKcN3JyGrjHuoX21+oI/Y7uhuPAbaKl6drZzcH/k 2iN+//5pXBBlS+7xkEsxx3OXsJyMW07ZL7RwhBWE/HYDi7wnQa4TOnj3uwfMRQ9rnL9c s1bPJpXQhzi50HHP1w2R8TEzK+AxAmEeXj0AXhHSYXOCS0YFj6w2Tewr32apMnFJMp0Q lEGFLBGbLcOuipfYFvb26sHMezGTrGzMnW3Nbps1FRxu+K/TjeTzhlx5jJTXozLYN+UO varA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WCHjbjmK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f6-20020a17090274c600b001d9b8bc0fd8si27711plt.68.2024.02.16.07.32.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:32:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68865-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=WCHjbjmK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68865-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68865-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 1A9D92812DF for ; Fri, 16 Feb 2024 15:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82775132499; Fri, 16 Feb 2024 15:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WCHjbjmK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C317B12F5AF; Fri, 16 Feb 2024 15:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096887; cv=none; b=UwRdUTNKSGZOJSZ7Jgs6GsH6Pm/zh/gaY8w9wc2Co0R2PKrp14xpTZdKyu4NuzNGJDaxvyJ3lMNe28BraTrsq1Ny9ZR7vFBOpq5h+lEjhU9G8y+AC8JcXTKdt0i+lhjrCXPrLNKe2T4umUK3866nYhExqqFSoR4O/xYQeJjz2yA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708096887; c=relaxed/simple; bh=TJXbzU7JZHJbMmgN7bpYmAVa1HZD9kd+YoDIdRJkXjw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m6PZnYbQ1/Wr/5Es+6gtOVjr75yoMw+hd8c9iIHkg8uT+XAVORQsv2uwtjaKK7ShikxUyiezUrV2h6frde8sEtnUxLCgurZpmNeXMfLO88iUsKfnWFcrfp5JjAk9yhQNLPhmKOabRUsmQzi7Szaa/kmU6dlOmNRqY1Y075SyAwg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WCHjbjmK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 74B98C43330; Fri, 16 Feb 2024 15:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708096887; bh=TJXbzU7JZHJbMmgN7bpYmAVa1HZD9kd+YoDIdRJkXjw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=WCHjbjmKO6YpsXPAvIB3jwb70NDs1r6NM0Ewj2I1BTJ2Q7CnZqrkgf0v6TgMJebGJ MUZopDAm7uPE2TaxE63eESFuEB741w59iP4kpGunq/m/dx4E9VFpRQ4FduuhFjLmth oEtqTj3SMp8LIUFHqZwDN55PTsWuuhWH1NOuCRTHDXpkpwE2QtnrZBhDpwdcMIDl6e t74fVs2nVzHdn68cuA5y0+r0+g4+mHeyDjO+tqgZ1kVOGGnd2OIK4u679civO6qpyk 6LJlbaUjlRGsY8tqAXNbcHptBu6lZjYMTWPLX4ZYIcdbkBjK+ywj5rdM24u3AhkGak nkb7j28cF9RFQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59CADC48BF5; Fri, 16 Feb 2024 15:21:27 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 16 Feb 2024 23:21:04 +0800 Subject: [PATCH RFC 4/4] dt-binding: phy: hisi-inno-usb2: add compatible of hisilicon,hi3798mv200-usb2-phy Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-inno-phy-v1-4-1ab912f0533f@outlook.com> References: <20240216-inno-phy-v1-0-1ab912f0533f@outlook.com> In-Reply-To: <20240216-inno-phy-v1-0-1ab912f0533f@outlook.com> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiancheng Xue , Pengcheng Li , Shawn Guo Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , David Yang , Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708096886; l=1106; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=rtHmhLoIl6mBEauH6cAKAA937JKk+tiYVqJ8GZyksSY=; b=CgorBV2nYcl95Vm5KnS8MREH8rEe9KkH0P/N7GKmgaLXjwaD3aDCrLwkQ6JOuju+7zmYqBWr0 3U5xWGbglDxAsFtxFZYVxT810mAEkzarmD0QzBM6T5DwTQUoJwGkI5Y X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791070108440014787 X-GMAIL-MSGID: 1791070108440014787 From: Yang Xiwen It is accessed by direct MMIO, making "ranges" property mandatory for it. Signed-off-by: Yang Xiwen --- .../devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml b/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml index 73256eee10f9..d702878b8e6e 100644 --- a/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml @@ -16,6 +16,7 @@ properties: - enum: - hisilicon,hi3798cv200-usb2-phy - hisilicon,hi3798mv100-usb2-phy + - hisilicon,hi3798mv200-usb2-phy - const: hisilicon,inno-usb2-phy reg: @@ -64,6 +65,15 @@ required: - '#size-cells' - resets +if: + properties: + compatible: + contains: + const: hisilicon,hi3798mv200-inno-usb2-phy +then: + required: + - ranges + additionalProperties: false examples: