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 488E6C636D3 for ; Fri, 10 Feb 2023 11:00:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232238AbjBJLAI (ORCPT ); Fri, 10 Feb 2023 06:00:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232279AbjBJK77 (ORCPT ); Fri, 10 Feb 2023 05:59:59 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA885AB38 for ; Fri, 10 Feb 2023 02:59:58 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id bg5-20020a05600c3c8500b003e00c739ce4so3757343wmb.5 for ; Fri, 10 Feb 2023 02:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CGtDg5ATFbK3Kzugl2ywDB+EKvh8/NkVL/VYGLMSpms=; b=VnB5ytPrJvyomfcg/OYqui5pg2vZKhjHa/1KAjK5S48RUiSs4yQo4cJeQSrMFf3sR2 Zft/FmNXtJI9V0OTp3BZ2sI2BZI2yV9t553wftX7vh2Wwkf4pISSIn/JYktCNp8pwTqt NDugeshKfUZ5AjjJdLAb8HeQbZxrR3ynoTIzXHkjlRG/1LLeH6bPlqDj4sQGB3oUGoRN BxTtSIFMefuXCrpi7oWiCcTDeumgQojA87+O9c3mYvxKqIp/zXHcCz8x90E8x98sXCit Hn+D7ab+wQNe2FiHoHZ3XGJUAzY0HUxW25XYQrJD1MkHNQcHNRehNC/1DoKZvrzmBOGF fFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CGtDg5ATFbK3Kzugl2ywDB+EKvh8/NkVL/VYGLMSpms=; b=umFo5b/inGgG9ZmebFK14r/0f0AYAFcQaL1ZKAStyNRexxOx+LYxoGJpRYCR2nkbHI CnwyxQewOSuL/OOqkK8dn06M+FRF2aLWjHo4sCNzN8tH3bVI7JwrjG4no7v8+YpEwaf2 bOg5UWvUsoKqZOVVAZkTWrg6cCxVDwObTHOhBs7q/6nszRD5bjf+J7MHwt1OtLo1LoI/ kwyWty8bHyysRwwP/wjH0cb4s5kvnv8BM9YNHJj2Tc9cTYaTB0UzUJFDSiXy4enNMEKt FWprtLtPeB8wBrv1gmtCK3Jeq1E//NwdR5OMWBZqzS3366ggm+HSQu5Y6Te+bUZ8xk4g VaWQ== X-Gm-Message-State: AO0yUKWDR8eBeULThnRnBEygqBYZNjHfp+tVfthrFwPaQmrma3em0EBI tpGIwR2OUf2TnJRBiYuzgbHP7A== X-Google-Smtp-Source: AK7set/qb4p+63yJEnzFqA2Md8R/uEGASB9YbN6OJ5A4XFRJ3472S+AW3ApRhmy6MwVVzGxoi7W62g== X-Received: by 2002:a05:600c:708:b0:3e0:17d:aeaf with SMTP id i8-20020a05600c070800b003e0017daeafmr12247703wmn.7.1676026796673; Fri, 10 Feb 2023 02:59:56 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id ja13-20020a05600c556d00b003dc4b4dea31sm4470272wmb.27.2023.02.10.02.59.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Feb 2023 02:59:56 -0800 (PST) Message-ID: Date: Fri, 10 Feb 2023 11:59:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 1/3] dt-bindings: watchdog: mt7621-wdt: add phandle to access system controller registers Content-Language: en-US To: Sergio Paracuellos , linux-watchdog@vger.kernel.org Cc: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, arinc.unal@arinc9.com, tsbogend@alpha.franken.de, p.zabel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org References: <20230210065621.598120-1-sergio.paracuellos@gmail.com> <20230210065621.598120-2-sergio.paracuellos@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230210065621.598120-2-sergio.paracuellos@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/02/2023 07:56, Sergio Paracuellos wrote: > MT7621 SoC provides a system controller node for accessing to some registers. > Add a phandle to this node to avoid using MIPS related arch operations and I don't understand this part. You claim you add a phandle to this node, but your binding suggest you add here a phandle to other node. > includes in watchdog driver code. > > Signed-off-by: Sergio Paracuellos > --- > .../bindings/watchdog/mediatek,mt7621-wdt.yaml | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml > index b2b17fdf4..3c545065f 100644 > --- a/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mt7621-wdt.yaml > @@ -14,11 +14,18 @@ allOf: > > properties: > compatible: > - const: mediatek,mt7621-wdt > + items: > + - const: mediatek,mt7621-wdt > + - const: syscon > > reg: > maxItems: 1 > > + ralink,sysctl: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + phandle of syscon used to control system registers This needs to be more specific - which syscon? It also does not fit your commit msg. Best regards, Krzysztof