From patchwork Thu Feb 16 12:12:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58005 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp266049wrn; Thu, 16 Feb 2023 04:18:04 -0800 (PST) X-Google-Smtp-Source: AK7set/63aEqt5UiypM+mTDQrJmnqEGlwEQkHcQnuey9Dj9uTWI0ItESwWhoPZ/c0jJ6Jr91kQEt X-Received: by 2002:a17:90a:1904:b0:234:b8cb:512a with SMTP id 4-20020a17090a190400b00234b8cb512amr42849pjg.16.1676549884233; Thu, 16 Feb 2023 04:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676549884; cv=none; d=google.com; s=arc-20160816; b=DYRo4jUOeskbj8Jk+1b+VT4J+wB4PBcMOA0HXVeoY8VzVzrRJOTSsfXmG6dPZ6x+Fk 2lR9g0Od+WPOrWdlBvOp07F4WBE/2Ztio8CbD8+0lElwrph8cMnbp9Apk/LVtQASnWOi fukPt7C1zjMta9WkpCLcSJClv5JtHZymEhe01FC6rM01P57Gm5j0bHOVOvzyH28kWVmW 4Qa3V6b2EgUDdyUXJ6AIfFHuvMzCwjh3V/pq7Hy33/V/V4TjtRAspygTYj2Io3egOYKR o7PUIF2z7QUFR9++WZt5rx/MfoXETp30/lQNuCv6m9nMfIOa3TShV2VVsZ3CfHJfR0Tn Bu5w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5xa1EgxIuknODW/uxmcnzw4VoWb0VoixqD9F/6r/2kI=; b=h52pHlcDQeD9/fCL9daBmDjoy70vcYALYENoxGwkD0EG64u2AnlX034AsZGDU6OvBi NTyW/SucICMZrYviO/2sJ8emCRbX+oUlcw/VU874xFmDl6EyHRIpwGmPPAASpsZIHlrr RX02bxrPUyvO+sAiNoxOIIH/t7Osds+2fyc+ksnpnICJDJUVyb7NN3Bw/L0zeSxgjJ6T r1V4s+xCEooYwvDbOdYnnBB3pcYuOYRAPbwUKAzNrNYu/EZxlACH/7Yg9+DT7owRe/XW BZ+0B4y56wAsa8Iy13BPOimGK3kNPn0UPGUh3sY1aMKV+ATAnVrpO7jZKVAnbsVIUdLf 2HTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mXTOhX8N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k31-20020a635a5f000000b004e73c30e3fbsi1499378pgm.571.2023.02.16.04.17.49; Thu, 16 Feb 2023 04:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mXTOhX8N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229502AbjBPMMd (ORCPT + 99 others); Thu, 16 Feb 2023 07:12:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbjBPMMb (ORCPT ); Thu, 16 Feb 2023 07:12:31 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF07F5649B for ; Thu, 16 Feb 2023 04:12:26 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id f34so2478605lfv.10 for ; Thu, 16 Feb 2023 04:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5xa1EgxIuknODW/uxmcnzw4VoWb0VoixqD9F/6r/2kI=; b=mXTOhX8NwTDA23CAvJrkwEBGQd0MTwe9gvMrXRGiDSG/+UmqpW9kQ2WNH2pHckZ6bZ iRfRvrbTih4mtqGcHEOrAcvpBJaECdgRC94rvROmmsMFZ0Xs1/X48yh6U7Wn1CgN6g/u vqvjDE0AtOteACicAJnOEUmVwuaUNfff69Z0QH2NcMv5V/U+BJem3VB8mkb8VzFKSVFq luGLNCl4UODo7yHQWGUDwLWCET5elF7YzuqtbCKREVWAbwhm9KyxnAdXsWd5bSCZkA3X sYT6kyfYozkTg8MJs32xmJh6GRPNhpsAHayh/AJeDFsPMAUGNGOZtw2KlHND3VI0MrMW hKZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=5xa1EgxIuknODW/uxmcnzw4VoWb0VoixqD9F/6r/2kI=; b=R2TZQ0iphc5BsNAAIOoTcx9EilqGHzVZrz+d0KemOMf+AqXTvdFSC//NMh9tolVEIm XlQ9MfZ6DiKpfqbp2GCJGz7+5yulJhkN1AUUVJYr1tdKiUZqE//FdhSzUigsz0kxEPPu uy4hCInPhRJZXcLI6AIVqxV6wPOf9J4PtAXBC+v/n8RZIDx8pQO59183EafEPy9Soh0d zM/XCY8b+Kxio/N4+u3U0uyp3RAz142b9qIXRn7atSdcSw0L3i+ejMRURwKu5BJmYOI5 RpH1frUUTvPGa3mSbqaw5lGTc4ypsUH3WJ1jyTKrZXlSzHz7Wi95jQzzAx/KPwlW1Lg4 Uvwg== X-Gm-Message-State: AO0yUKVvwEUv6SIEyFVDZlz6fSxWY4BoXt3m6cO9p807/mJtuU8fff5v 70uOYv8yoPfPd3og2XVQVoUXAw== X-Received: by 2002:ac2:4908:0:b0:4cc:7a44:f05f with SMTP id n8-20020ac24908000000b004cc7a44f05fmr1523734lfi.31.1676549545029; Thu, 16 Feb 2023 04:12:25 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id l2-20020ac24302000000b004dc4b00a1f3sm278509lfh.253.2023.02.16.04.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:12:24 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Gene Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings usb: typec: rt1711h: Use a generic node name Date: Thu, 16 Feb 2023 13:12:10 +0100 Message-Id: <20230216121211.3964433-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757989971249442484?= X-GMAIL-MSGID: =?utf-8?q?1757989971249442484?= Node names should be generic. Use typec-portc@ instead of rt1711h@. Fixes: a72095ed8e65 ("dt-bindings usb: typec: rt1711h: Add binding for Richtek RT1711H") Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml index 1999f614c89b..7431c25d82ce 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml @@ -17,6 +17,9 @@ description: | support for alternative interfaces of the Type-C specification. properties: + $nodename: + pattern: "^typec-portc@[0-9a-f]+$" + compatible: enum: - richtek,rt1711h @@ -55,7 +58,7 @@ examples: #address-cells = <1>; #size-cells = <0>; - rt1711h@4e { + typec-portc@4e { compatible = "richtek,rt1711h"; reg = <0x4e>; interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>; From patchwork Thu Feb 16 12:12:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58006 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp267403wrn; Thu, 16 Feb 2023 04:21:06 -0800 (PST) X-Google-Smtp-Source: AK7set+H10RHXBHkj1Z+Gf6BnQjxsGVUBGXr4NqtC1WDfITApNHN9O1ANmXMlTn/ct69JkvG8uaI X-Received: by 2002:a05:600c:548e:b0:3e0:185:44af with SMTP id iv14-20020a05600c548e00b003e0018544afmr1593343wmb.20.1676550066401; Thu, 16 Feb 2023 04:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676550066; cv=none; d=google.com; s=arc-20160816; b=NniXmw/gjnP8jHPJ8TyrfjK7kEwi9JxXBAn8uE4/InhvpkmEFWIbTsWRy9zUIb8MaW B5mkEwdgoWRzeWpMtCk9z80lCd1bacK2LmcJb0RjvLVHSYp3bnA+OKkO4TmGhSFzKCoR gXpZUm6ppGRMkW+Pa8z50mosOxmN0Ttx4MkfJfe8l2DQArlOdNz9s6JCFswta305Anwz mbPZOMi5TgheAqW+DaN+gzqJpzi2TnFTNIA8gXPUqWUc2AhZC/50hDS9A1i54BO35pDn f/RyyqlgqVrNubPusIUHT8nNkJrWHPU104p9nVUZhn8enMclTwWTUYuiNzmkbj7Zt0p3 cjbg== 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=oVCq6lHS/CHxq2o92t02WFbDs1x/4MriZ2pVh/ml078=; b=hgCggY/jKEP4JD3/u+m0AKSMknPGpdKC+9P+iQNK8YEOLIh+eY0+qYSZKekiTH7lCp j86zLt5GBnbNgmGIlolIGj3DrO0IDvcxTgZIvXyGd6tL/FySMT+3kJ+WYHACHhqNsmIl TjR35AkK5+UO3nk7Nn+ecTcSo7plrQLi0R2S/2vj8oZ6Yyf4Dl6y+49D51w3h2pfv16Y OUicXXFkEajSYJVlVs+pX6sr59Qy7qDQD/nfL0LjaTwCnea9O6KDwSMJEEVGc4Nslmw0 hHBLHoa84WeeJq5OwT/vs+rCmcu2ReZ5rxobqseAf01H8XcSoqUG3D/zvFsVfrd+C29+ O95w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GT0zI11n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a7bc4c7000000b003d9e9a1786csi4350239wmk.202.2023.02.16.04.20.43; Thu, 16 Feb 2023 04:21:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GT0zI11n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbjBPMMg (ORCPT + 99 others); Thu, 16 Feb 2023 07:12:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbjBPMMe (ORCPT ); Thu, 16 Feb 2023 07:12:34 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D3756483 for ; Thu, 16 Feb 2023 04:12:28 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id y25so2485674lfa.9 for ; Thu, 16 Feb 2023 04:12:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oVCq6lHS/CHxq2o92t02WFbDs1x/4MriZ2pVh/ml078=; b=GT0zI11nQsYbo+UexU1rb28lnW4Qp6QQkHmHkdl32vfmW2ETzyl589vAKn/Z8w5Kjt zx5NSNSwudtqv1Cbjz7a0CmxChEc97RjeBTQMVSmdgS9LeqUFtSKyW2wq7Coce16O6MA P3ZXwIs0iq0cznD1uUnSV8hwTJCVBtiYgY33eiSu4n6MZjBvyv2ayMvIEG+9GcyqQnD6 JPj7i5b9eUjAGlX6BIeiKf0M3W/AZaI8cp9bBuZ7hJA0KyOTABeXAHwR8Pc1t7MPR7l1 2+mkthVO5dg+fPFBF+izuav0q5ABDmLmxCIhwVcMuxOD4gsyggsasJOp4QpawJaLKXtm IvUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oVCq6lHS/CHxq2o92t02WFbDs1x/4MriZ2pVh/ml078=; b=DRnF3Xoc7Pf/wWTqMd87wG4Yk+6BLVbjdigTLFQ8IIG+KL86nHYYn9MkS+iw3nWQSe MRL1gYm8KJklXyWHvQIx8JIYaziRe6obgECU4X7quYUf3TLeGzPWY2xg9mI77uBT94I6 rAnjj3SjvSCO9aUa7d37Bu8c8rkVBBoigDWCvjk9l2PtRJS0eBlDNY9XFnCabLAm1kSS M48X9CL7xaP/Ym4HCRI9cq1YEvv+QoBfxSluPlZ0Yb7aVmbxc1ZtGw2H7+Jb08MAvyba W3ZnuoqhD2J1VDhEmPaJiPpbnD8wogKAP0e87gSnDmHYOAdcIN63X1vqIOZM1+UtT2om kU/A== X-Gm-Message-State: AO0yUKX+NfVfVjEfTJFRFR4jSqEahsZwscMVNjP6YGsYbu8jM8/4dyf/ qCUytyMP+Llo1DgvO/Ar/5qgCg== X-Received: by 2002:a05:6512:1156:b0:4db:787:e43b with SMTP id m22-20020a056512115600b004db0787e43bmr810143lfg.8.1676549546330; Thu, 16 Feb 2023 04:12:26 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id l2-20020ac24302000000b004dc4b00a1f3sm278509lfh.253.2023.02.16.04.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:12:26 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Gene Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Wei Xu , linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm64: dts: hisilicon: hikey960: Use generic node name for rt1711h Date: Thu, 16 Feb 2023 13:12:11 +0100 Message-Id: <20230216121211.3964433-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216121211.3964433-1-konrad.dybcio@linaro.org> References: <20230216121211.3964433-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757990162203386376?= X-GMAIL-MSGID: =?utf-8?q?1757990162203386376?= Align the name with what schema expects. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index 3f13a960f34e..98a87ba4d70f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -527,7 +527,7 @@ &i2c0 { &i2c1 { status = "okay"; - rt1711h: rt1711h@4e { + rt1711h: typec-portc@4e { compatible = "richtek,rt1711h"; reg = <0x4e>; status = "okay";