Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp549424lqp; Sat, 13 Apr 2024 08:09:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQhf8379iZFELFu+nDKmpquWHVz7kJlUy6eVOuizzKFLdJg4p9Q5c5F8LjL1socCoSDo+DgP6BiogCl2Z/SctS7DPuCapKCkCiGLpCOA== X-Google-Smtp-Source: AGHT+IHa/Ujh695I5OAMmOwCtvtWLQpszI3ob/iF5NI8LPws60JqrrccllFyX42BgUlOkBEdtHM7 X-Received: by 2002:a50:8717:0:b0:56e:3078:74 with SMTP id i23-20020a508717000000b0056e30780074mr5147006edb.31.1713020990760; Sat, 13 Apr 2024 08:09:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713020990; cv=pass; d=google.com; s=arc-20160816; b=owqRnRB3mzcHkv0vO3JEzrimRv0Q6fvHVwDx0N2Ni1a2r0xzpdERZw4Y60gZQAZUcD +Vls9Uv8Nb9Lnr6tg5NibYxaS9dZpjWkCVkEN70OlXc8ghIbsLcIJcX7G1VFye6SYFkE gdDtDFFdItwBO+nogexogof2SLzv8aflJQhUL7DtyUJEuQDA5RXguiXeqrddm4Ltd3qV SPtp5Co5SJ6gCtC6LeFLIxUdSFPri0r9QtS2r+iHGz21qycElv73paAQht+CKlMxAUNx 4K/IBk37uOBaiHRsnF2hl3spd/tPJQJeZSpiEQw6wgSv9WDeE09dUvhCLPPrqvVKQTyp xyaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=uUjiWSpKaaRot8DcPu9d3bUDl81R1NzujRT2QNtvHUg=; fh=hCnSnlTAmhHgxwcqKrwlnJwq97oZn43Mg01aoUHrPGQ=; b=f4eW39+iHsiOBfszSyQaJsyWJSCGtPZ3gldglux4+NIBofeM8YMOCLo5KBaqDyv8ej z5c9gOZIzsswjxLMw9FneeLkecq6vSKIfu1dIRkLYjn9In0xB0KXn7gASNLs9KQZ/SVy Kfi2ij3G7eJ1b62J771Kl3IEHC2H73q2hoE5puyWeYGinoZbr363u/TNTcUaBv+/aNaH UsdOQe4dVBYN8jGiew7feUGt7D/gmE8zrLrPeOcuofC/Yzf+9LbOegXv1TyXdFVb1PNL 4ZcAJpKTXqkEXtyUb7pf7G9wljX0DzbSPQNL4Et1O/BYNeEBKRP7EzSLgRYf7j8eGbXq Xj+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=My7h+C74; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k20-20020a508ad4000000b0056e31acbd04si2782640edk.356.2024.04.13.08.09.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 08:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=My7h+C74; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5555C1F21A91 for ; Sat, 13 Apr 2024 15:09:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE0611F94C; Sat, 13 Apr 2024 15:09:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="My7h+C74" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04A9A45979 for ; Sat, 13 Apr 2024 15:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713020980; cv=none; b=Ik+eHltGv1OWSqaRKxszf2bZ+8rlmW3ehCMtbMueY2sW7aj/uUc4ITHbEIUyYaRvm+x+CJpM6xGDPQ1wg4laoMO4WpAY2IQVn38jisCO8P9HcGZICa1tyJnjJrtSPs0lfTX4l8mYZ9qBGHsJK/Wm8vuiCDAcWn2hetmlLAA8IDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713020980; c=relaxed/simple; bh=/NjYV+1zOoIBYarTIVIWxP8vVCv6VUoUEXR5Fe09YZ8=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=KIlMqlDwxK4BAsmQlJWRaOOuG4amgMzfc0UnozjlQ4LxBo/pJRYAnNL2xsFgnO/xqLXxsCtKr2s03hKDdlgyY1qre37d964MZqA7xtPHPEL0y1ra7c+vCNS1SHpsiS8cVpXJ1dJdodeokktJDqwkWsyQopvYtofnzqMfhZm7fws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=My7h+C74; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56e6a1edecfso2880711a12.1 for ; Sat, 13 Apr 2024 08:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713020977; x=1713625777; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=uUjiWSpKaaRot8DcPu9d3bUDl81R1NzujRT2QNtvHUg=; b=My7h+C74dRW4wE+Xqh+COiI1ainFn5ZLFCvPd8aMYSWDtpLrkecCnPoKEKztpEVxs1 CDw0p3761cLgL9+x+3RL6R3FfZpSp+oY1RojX7nAK0oXMUNDgt/QO8Xdo8oed2kg88lq aQl6TJaa1q7ZaKPLyOeJSh/TSwxgf3WIg5VV5U7RVsz9LS1g+pF5T5ROgpTrq3DQevcf 9KxapTLkU9I7sgBzK0CSJP6jZvElZKUigDVgI5M6FOdkTVBiVvTVhbmcq7ZpcoRYHVG9 84XtGyXGYwhTcIGMW5xq5ZKWUl/DkER47+3l2C8ZohXpM4mKQsuUm/xDrDO6qd4zfqqr sKHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713020977; x=1713625777; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uUjiWSpKaaRot8DcPu9d3bUDl81R1NzujRT2QNtvHUg=; b=CsK4zcl0rSd/Zv8nxPP6ERBR17hTKADQJe8oMiBAL8yc27F/K54g+QNVa0oSBykBHs Wrk5/WBwkHAYElPMgW/pd/GmetAVZW5OfZQ5JSN/SoXqikD8NvYs81PlXFewlY+GvMaP rD90t535OGxQEK1A7m9bafZLUjxFvXPx/mq2hK7SUcT1ui6lXR76hWjH5zv0rRe/PPo8 am1htQ8xEB0OZjtOND/h/riCfCmZMzwQ6bhNHkZ7Q7eHfEjqUDrj+I7t9ELVirXTUZ0f enhUa+1O5/fcEhKKlkC4i1LGZipex2+OKkVpuyeNoHobgqJCeycgtvjj3HE8V9wsyTEw F4Tg== X-Forwarded-Encrypted: i=1; AJvYcCXQPwsSWPc1M7sRBfjw6docnK36Wip1Ned+cNZ8pOsjcCg84OsPaNYs0m1gRxZB7+5J3+Xy/nyFpV5aMM88KPBw8MT3tXxJlOm1DtM4 X-Gm-Message-State: AOJu0Yz3dqcw3uAz6vyLkwU41j3Lr8BMd1q2UIg1jgzXMv63XRw494Zq Xw2m5JHch/as7BLvtsSSBA6tOjqdhSc0LGA7ioop08LdymmBgNgJ0hnjiodGE54= X-Received: by 2002:a50:8753:0:b0:56b:c210:870c with SMTP id 19-20020a508753000000b0056bc210870cmr4440554edv.15.1713020977139; Sat, 13 Apr 2024 08:09:37 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id g37-20020a056402322500b005700e153647sm806121eda.38.2024.04.13.08.09.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 08:09:36 -0700 (PDT) Message-ID: Date: Sat, 13 Apr 2024 17:09:33 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Avoid error message on rk3328 use To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Johan Jonker , Dragan Simic , shironeko , Etienne Buira , Jonas Karlman , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTR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xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/04/2024 15:56, Etienne Buira wrote: > rockchip,rk3328-grf-gpio is handled as syscon, but syscon mandates syscon does not need such property. I see it in gpio-syscon, but not in syscon. > presence of gpio,syscon-dev node (or it will call dev_err() when probed). > Correct rk3328.dtsi and related documentation to follow syscon's > expectations. No, look at gpio-syscon driver. Parent is used. > > Signed-off-by: Etienne Buira > --- > .../devicetree/bindings/gpio/rockchip,rk3328-grf-gpio.yaml | 2 ++ Please run scripts/checkpatch.pl and fix reported warnings. Then please run `scripts/checkpatch.pl --strict` and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/rockchip,rk3328-grf-gpio.yaml b/Documentation/devicetree/bindings/gpio/rockchip,rk3328-grf-gpio.yaml > index d8cce73ea0ae..2c878e7db900 100644 > --- a/Documentation/devicetree/bindings/gpio/rockchip,rk3328-grf-gpio.yaml > +++ b/Documentation/devicetree/bindings/gpio/rockchip,rk3328-grf-gpio.yaml > @@ -38,6 +38,7 @@ required: > - compatible > - gpio-controller > - "#gpio-cells" > + - gpio,syscon-dev No, not needed. And also incomplete - where is the property defined? It does not look like you tested the bindings, at least after quick look. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Maybe you need to update your dtschema and yamllint. Best regards, Krzysztof