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: 654401 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75544C636CC for ; Thu, 16 Feb 2023 12:12:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbjBPMMc (ORCPT ); Thu, 16 Feb 2023 07:12:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229889AbjBPMMb (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 CDF24564AA for ; Thu, 16 Feb 2023 04:12:26 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id b3so2531157lfv.2 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=bHyZga78WdQ5DJHNbl4/NSsy2mQJSykkCBDFUJXrKbqXD22LIc6WBI9loX1f6pLxMB JPlrQWD4Wo9X+mJMzIfjr6K/blN5QKVbwsFU7CI2xY0HhTp2xLOSXBGd1x+dInZ/LXdg /MyztbXU4eCEq2F8ty9/lAsIXznp9yfi2d9medL8+DRTib7IXc6nYyi+BZQpm9w2JVQs mwIsquIBttCguKc53oMxDDjPJxInObES8JQRsDSuyiGTk2LsLVHvzeo9p61QTnQbMcBA eceng5qU5wnReijVVTDe2Ju/24LoJ9PeGxu/beVgMgMluVM2R9CTv0xJbUWrg0t+AZmg bxyQ== X-Gm-Message-State: AO0yUKWylwyqAtSlH3Tx5b1f4ju3C8s3VopcEb+T+P3epB11274VCKPF qoQULi/JSVcQL6rc/5ak1C4k9A== X-Google-Smtp-Source: AK7set8gHz2zlSC0sGqYDh4zrURadOgNH0ueAYynB3wPhj/9oVZ9hQQtl4FxuuyOcRQ7u6nY9dkDMA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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: 655323 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93349C64ED6 for ; Thu, 16 Feb 2023 12:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbjBPMMe (ORCPT ); Thu, 16 Feb 2023 07:12:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbjBPMMd (ORCPT ); Thu, 16 Feb 2023 07:12:33 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3309055E77 for ; Thu, 16 Feb 2023 04:12:28 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id w11so2467745lfu.11 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=wl5ViAHTzN0k3E9iYXbmLgzwHljLNArT5+FEz01IWWtrtxDYFkihv9uLfmBkFd5GmR 96zsuml+7qDGB7K6c8cYWsKmM61H+pEsPKz3dfqAuh68FtM8PNlgqUoK5FjcpDj4ug2u qIb997lyoIEd7J0R7k/8mB39Kv7Q+FkUQrfUS+YiNNoSjhcDbScjNFbREfsO8qNaNo0s Mm3+IlKQlBrs6P2nXyfotEHiDiWCpT909OWsc8usIHfN+FAvt9ZEP1lqkIh2U0fT/W4t y8FAGNdlqi0y8/rW9zoq724MCpDi0EJwtofmLK7YnEC+mTI83lc8I9hj2RXKJKI9GPI4 FcGA== X-Gm-Message-State: AO0yUKXfC8KTWyteEMtCtMgdt767yAeynJA5eDfjEetwURVbRM/gHSBl uuMs3OQHChKYuYqfbi4SM2KuyA== X-Google-Smtp-Source: AK7set9gNvY29CAFoRTQKz85HdNGTa/94AB2XUkp7q/2z4EC8JpowsmCRlUP+fXwyTE7B5YnD9vjcQ== 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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";