Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp805029lqo; Fri, 17 May 2024 01:58:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzOuB70YOM4j0ImHEuUfLdtRumHD+OFQfzxQEz5Rijsosto7DZH4EiB7PcPk2bsynyWiicgCMKQnyTnOKxLqOOJovIUpSpJxXPtsAUQA== X-Google-Smtp-Source: AGHT+IGFF6RaD65vLHIDg+bHr2kvu3GbzKCQZzbSuKLe0qI4ctdk3bN+rgE0VVOUWYJJrrY54l1w X-Received: by 2002:a50:d6c3:0:b0:575:a0c:4b8c with SMTP id 4fb4d7f45d1cf-5750a0c4c71mr3886830a12.38.1715936332678; Fri, 17 May 2024 01:58:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715936332; cv=pass; d=google.com; s=arc-20160816; b=ywNHTISPEjVJhDM2ijySfmP0TFIRD0KCS+9BsBuSZbCIty7Kypg2/V1MgAsG4uCIf6 Q+sAdzNheV9MmLSGN4S2pILaahtdNdjdvQrrJ1WujMAuE0Opy8+NEwVYW1bh0zZnhvcL xGCIn87JfEBaH9Ujh69+YbJVu2xYPqTDdtxfEf1hBoEp4YhjMx+CzOY5iy+XG2NfdvfU 3qsgKAWQ8LRGIIdN4Xo6gBvFn0o+sJUqlgYG6gGZvPzulb57YzY8SmxyUb1XCRUFG4Jt /SG6DYaJWh8s2XJgZxkbyyEzmd95R7dTeMf0EqMt3GQOYIkbJ/8zng0eJvjAkwbvzSEF ZF1Q== 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:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=5khDJzdIt4hddVe40XnT2EL3IwjNPFVsOWUn/xEZCqs=; fh=2lRtGE91oT5uHnmWcFKRG3Lyybh62aeBknkjhIJz69Y=; b=JUFA6eOPx7G9CRbucjNCeAc+rhdti6upasW2lBI9bUg6mLtF/Qjhz72JfVdoOge1UH NWtm86WG/Tu2rDT/wos8sQWUnk6QfrNPFVKnmZJ005Wf980PTI5NhbhKMwt+zlC6IPcM /3ZBc1QCF1coRLeJXvxq9xcrZZbkgyqVzqlci9Ses2P1D5OwS+dLo1er4Smif8TJVxcT nFdiqT1rwkBq9Hkfoik+j0hS1bOh1NpMUxdBgPOh34kOpjf8UBoaQMS3b855exmx+gdJ vbLUysigOtKQ5tEaaGxF/xCTUf90GibKYpCWDz+/ktvrkUvojWc53aZ3po0FVUzeJLKm 6GZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SiHrLayR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181888-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181888-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 a640c23a62f3a-a5a17be66edsi911698266b.761.2024.05.17.01.58.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:58:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181888-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=@kernel.org header.s=k20201202 header.b=SiHrLayR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-181888-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181888-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 3A28C1F216B2 for ; Fri, 17 May 2024 08:58:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0B84179AF; Fri, 17 May 2024 08:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SiHrLayR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCCE317C69; Fri, 17 May 2024 08:58:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936324; cv=none; b=ZefisB7wP1iH0uVsiQCphOMdrtT/dyAR/ZtnCvjYrCstrVjNGjUbc6qeR5qYkoG45vSlRzFrPdgv2zolTS5k9Bv4HsLzIKfw7u8zKa1hhx5H/qbGCxPUFH5oRZZom0p9k7Jjb4YszZWpPT/uZqcTk5dBEi9v4NqyODYpkrjaLyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936324; c=relaxed/simple; bh=8Kgv5BwTK2Y7GAjTmsKhljnzTNcH+UD8/8m35O4evaI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lCEfWOUxHmMJ7npH7M3b0cxU18ZJAGIRIda0kG4gPj/ziLJ0/vZB7lNM+HOu/aBhwL37ep/6tnRS7TiDxT6vM806ZpYGZ6uqlhh3T6n1kKtKo0ZBTxEG2NHE7BpYa1lhRNKnNEhvg3FF6OuefptMLwdDrJDIdyGAYGRpqLJoXSA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SiHrLayR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F891C2BD10; Fri, 17 May 2024 08:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715936324; bh=8Kgv5BwTK2Y7GAjTmsKhljnzTNcH+UD8/8m35O4evaI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SiHrLayRWenu+VLSkBqHOuYaZNvWvJi9oVOMvzCfwZ9tPB2d84/FLj+qxq8RMVv2Y ED8dta6hF5sTbd0IZ3pUWE42xzK1gERCEpiFzRnLLNftCYTnszEv3HxAWpOpnhCDna c9nbiXLoQhKAEXBZU4HwroP2CNjB3adtFtlESDdaOsDtpKK8IFyY5ZUiEZyfeBSP6K ec+tEUODa4KxfJjSKZCTpy33E9ZjVTjDDmURnOzvMegzdSH618gaRP1DDUcOOM7nEF C0cIPqbfIRqSFxXA0U0zgfXFy4KXjNNe8ya9FUOtAWXCdV1UtasCZW4DRsCr+3xe+3 Q7DxNmWQ1e/CA== Message-ID: <2245e750-0b5d-49d1-88f3-7c1c75f275e7@kernel.org> Date: Fri, 17 May 2024 10:58:38 +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 1/2] dt-bindings: mfd: syscon: Add img,boston-platform-regs To: Jiaxun Yang , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "paulburton@kernel.org" , Thomas Bogendoerfer Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-mips@vger.kernel.org" References: <20240513-boston-syscon-v1-0-93ff557d3548@flygoat.com> <20240513-boston-syscon-v1-1-93ff557d3548@flygoat.com> <31769e8d-ab52-4f4c-84ca-2f546287d006@kernel.org> <61445fe0-9137-44a6-ab36-ffb8985254df@app.fastmail.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PB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KqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <61445fe0-9137-44a6-ab36-ffb8985254df@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 15/05/2024 23:44, Jiaxun Yang wrote: > > > 在2024年5月14日五月 上午10:11,Krzysztof Kozlowski写道: >> On 14/05/2024 11:08, Krzysztof Kozlowski wrote: >>> On 13/05/2024 20:58, Jiaxun Yang wrote: >>>> This compatible has been used in arch/mips/boot/dts/img/boston.dts >>>> for a while but never documented properly. >>>> >>>> Add it to simple syscon binding. >>>> >>>> Signed-off-by: Jiaxun Yang >>>> --- >>>> Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + >>> >>> It is documented in clock/img,boston-clock.txt. Please fix/convert/work >>> on that. >> >> No, that's different device. >> >> Anyway, this is wrong - does no work with your second patch. Please test >> them before sending. > > Hi Krzysztof, > > Do you mind telling dumb as me how to test bindings properly? > > I tried to run make check_dtbs after applying this patch and that's all > the warnings I got: > ``` > arch/mips/boot/dts/img/boston.dtb: Warning (interrupt_map): Failed prerequisite 'interrupt_provider' > /home/flygoat/linux-next/arch/mips/boot/dts/img/boston.dtb: /: 'model' is a required property > from schema $id: http://devicetree.org/schemas/root-node.yaml# > arch/mips/boot/dts/img/boston.dtb: /: failed to match any schema with compatible: ['img,boston'] > arch/mips/boot/dts/img/boston.dtb: /cpus/cpu@0: failed to match any schema with compatible: ['img,mips'] > arch/mips/boot/dts/img/boston.dtb: /system-controller@17ffd000/clock: failed to match any schema with compatible: ['img,boston-clock'] > /home/flygoat/linux-next/arch/mips/boot/dts/img/boston.dtb: uart@17ffe000: $nodename:0: 'uart@17ffe000' does not match '^serial(@.*)?$' > from schema $id: http://devicetree.org/schemas/serial/8250.yaml# > ``` > > I think there is no new warning introduced by this patch. > Did I miss anything here? Indeed there might be no warning for this, because syscon allows a lot, including children. You need custom binding anyway. Best regards, Krzysztof