From patchwork Sat May 18 20:44:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667700 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B57BEC25B74 for ; Sat, 18 May 2024 20:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yWuA3v8St1kTJ4BxP3aut5ZF7DpijNr2GjoGY3luM5k=; b=jWMJbLIXUif+T3 4FSkc6kThKFbgCUWLoTvuARa8ymRNerWkRv2zq1Fc5pYSEnurctQJbNrM2zkjgVaSrGQDCYD6KGzZ mmh55HQKxD7i+luf6TGq5OK8Fl0LxYEQDy+rQneYnxhXRX1YkKJ4mXNrtUOfJ29P0+sl9GS6dTBe4 1j/TOBx9TrZOuQKiKNDLi5GTGvmq4c3al1Tqgqz9I+FjzGgQTaS0L2BCBuleWAxHMhW57RceU55wi 1TVjsXxMsBJs7gssn2FaLut0FwbK/O5Vh3NsOoHWEwh9EShMvnEanP77OxXIAZv2L0lQpkDQ98Kda twEL/t6rTRqDxroaNz3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8Qw9-0000000Ak27-1lMJ; Sat, 18 May 2024 20:45:49 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8Qw6-0000000Ak1M-29yb for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 20:45:48 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a59b178b75bso429857766b.0 for ; Sat, 18 May 2024 13:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716065144; x=1716669944; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DUhuNF9gHTk1IAfIZXzg3k6X/meW7+BoTontLnhR/a4=; b=crao+1p8ZHN/WK1C+7cS7SeAlqXkg+frTnnN3Z/O8mqb9NNjnZ2WI93Uoj00s9JCLc AxSUTGJyCVbgv4JpmRFOR8wg45Vty4yjkAiJxScD5EtqOx0YE26yIssZfPvybaauHjC/ juavRTzoWc6ZyEgsmqDXEUTqMOtFduU1Gl4BxMfira5PvYZqayNPHhxGI8eG0eOqosxN Hzf1G9KmiTrDPvyHhn3iI5CEXDrMc/sT194J6kPIV7dfhJ0RzuxmQ5BnlZ2i30cEV5pz al6/awNHa37VvddknGVopFpLJv6/AOIBBWKkr6Pf9k4BjcwWM3BqvetyFxmzGemR46pu skqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716065144; x=1716669944; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DUhuNF9gHTk1IAfIZXzg3k6X/meW7+BoTontLnhR/a4=; b=CZ9VZmrUcO7onOhQk/lC30QMOPmHVl4Cf96kxmpKgC1oU+MPflhs9tN8lsJD0G08u4 XQFdM2CSUERTR8eRjRSz9WVjKTI4nLmmNYPlnq4o7yOPS7CukzPcFjOu71yoASjLFNF8 KjvESrLpS11XFi0RBJ41zcfpzMobZhV3Fj849IV9z27oajbUUX9Gd/WTkbBZvI6wysLS +SjcKMjkKcC7c9goERisoR7o+vIrTsAAN7ZvTONHR+DkCOMgWnbDrWHJ7oWLhNY/UbVh IcwVqDqhVXwmj3BIyETHSTpt0X1Zt3LXVsgFXycaJ7QIN/uul7hf0eQpijb0g3OHHBIT WR4Q== X-Forwarded-Encrypted: i=1; AJvYcCVCuXCHlwN3LktQofSJSzQUXrFbuGRJTH9xGWGkH8r9Yi1zRHn7mT02LB6Vd06zyjJKdwnjLTe0XiGXpjYUvGek4JQ9+L3HfN0G4RV4pfnzESRniyE= X-Gm-Message-State: AOJu0YxvAXyFJVr6QnmvyuaMMwycCtL4CFAGGU0ft/EbAQdX5SZLYQsd FqBJZcIoOvabtZE4hL4OsiDCEmT/4ZBerFs1YYaVygW0Euc2gdXp2bPBLY7Scc+EIWPXz0+u1Ae R X-Google-Smtp-Source: AGHT+IFLoW6ZA9b1C63Bf8OHLm3WLy3NeBN1vX3eOc7oCC6JLBiBVaypz0Q6D7yjtaz1sIWPPtH/WA== X-Received: by 2002:a17:906:1797:b0:a5a:8d07:6a00 with SMTP id a640c23a62f3a-a5a8d076e2cmr827982966b.64.1716065143946; Sat, 18 May 2024 13:45:43 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17892471sm1261716566b.84.2024.05.18.13.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:45:43 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wei Xu , Carvalho Chehab , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Jiaxun Yang Subject: [PATCH 1/2] dt-bindings: soc: hisilicon: document hi3660-usb3-otg-bc Date: Sat, 18 May 2024 22:44:42 +0200 Message-ID: <20240518204443.122586-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_134546_588444_D07F2A34 X-CRM114-Status: GOOD ( 12.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dedicated bindings for the Hisilicon Kirin 960 USB OTG Syscon, to fully document the block and also fix dtbs_check warning: hi3660-hikey960.dtb: usb3_otg_bc@ff200000: compatible: ['syscon', 'simple-mfd'] is too short Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- Cc: Jiaxun Yang --- .../hisilicon,hi3660-usb3-otg-bc.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml diff --git a/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml b/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml new file mode 100644 index 000000000000..2e26637a4711 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Kirin 960 USB OTG Syscon + +maintainers: + - Mauro Carvalho Chehab + +properties: + compatible: + items: + - const: hisilicon,hi3660-usb3-otg-bc + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + usb-phy: + $ref: /schemas/phy/hisilicon,hi3660-usb3.yaml + description: USB Phy node + +required: + - compatible + - reg + - usb-phy + +additionalProperties: false + +examples: + - | + syscon@ff200000 { + compatible = "hisilicon,hi3660-usb3-otg-bc", "syscon", "simple-mfd"; + reg = <0xff200000 0x1000>; + + usb-phy { + compatible = "hisilicon,hi3660-usb-phy"; + #phy-cells = <0>; + hisilicon,pericrg-syscon = <&crg_ctrl>; + hisilicon,pctrl-syscon = <&pctrl>; + hisilicon,eye-diagram-param = <0x22466e4>; + }; + };