Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1443983pxb; Sun, 11 Apr 2021 20:21:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXYtB/+Go/P9ZYCttdtHx6wOYj4dRDVj8N9sYaITpjGlP2vOtFZzC5ca6iO0OoMZKXRqq+ X-Received: by 2002:a17:906:6a94:: with SMTP id p20mr25820983ejr.68.1618197671189; Sun, 11 Apr 2021 20:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618197671; cv=none; d=google.com; s=arc-20160816; b=BExbc3dpu/lNgKTcvWvfhY6YRrkdQqqaNEOVWO3y/StV8m0uujgujzwEtheFXTk1uG 3C/xEwuxw47UC3vhYsQQRhMrgNUBSVosuOaUEkiMMtiaHTZ3s28bDCL7la8vzBD7DzEK pJlQaJ/Br3GCMBaLDXaMnl4M8Jst+xfSLL9r+cyMjNd2vBtMroWz7zNN2H8ar/kkTwUk Ek5KjwcQqGRkC/MzJ7qGvQyYsOjrTcBuzl5mbfwbcWqFjFt7JvJN4p7jdWv331/prbnY 6rRE0djFspM7/mGvZ+a0YB3po71KIZokbbCP6sKtHiDVEZQcQDMF97UUuUTXd9HE8QhO tnTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=MEBeMSZwCLiNgtETaZdBAHcB6oSiuhP7OTq68o+q6qU=; b=IiUM+SxuCGd0VxAdy3quX2w0VZBvVDT2hFzcDFFCQVerR9qh+dWlOBVbk5e8lf+Zci DbZXMmMH/jfqRsvXEQt/OWHV+ocjzBVDj9JLlLrsMSYGNPmpaAp9WX2X5FM8KNc8Oc62 Og/TcOGrjJHNCiGa/+LBlIHwlo7F/1ESmANvnZjYPho7Ivl69Rloyl/Him6wjpLdg6fT aLYjJgcSlnqkCnqjQGKCMC50yYhK918tUYM75in6X3kzLPbCOvmpEddXXGUtKvTrfQPx MDr4ZlHcZZweTgEqmpKI/nPy+RFGl3gBDBkpvBCAsH98aMTcyJdqkGV+GQuaW1RVdQH1 HXig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AsixbbEf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp16si6996016ejc.157.2021.04.11.20.20.47; Sun, 11 Apr 2021 20:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AsixbbEf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235487AbhDLDQE (ORCPT + 99 others); Sun, 11 Apr 2021 23:16:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:41150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235229AbhDLDQD (ORCPT ); Sun, 11 Apr 2021 23:16:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EFF2C6120C; Mon, 12 Apr 2021 03:15:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618197346; bh=MEBeMSZwCLiNgtETaZdBAHcB6oSiuhP7OTq68o+q6qU=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=AsixbbEfcJQeCUBLhHHdSKb4PsstJcAjesgFqQSgsFfoutKECCR4Eaxp1XEQ9J4MA UpncmUnFRscfoXy9LObT8q5ZtMr00QUTYo5HqsA51O4xxcnUFgycv8ukBAJ5kFwvfW GCdyem1GHPp0ihDFB2JDxIlJo6h9TCeoEphym4XnjjKYbXr1+DB/tf3/nn4/FIgsrp 5KZhWuPZBY5UzZ6L04IG4wzh7/FHm/HK7NcQFTzGO3VU/e5qqW2epzr/SWXh1M8eKr KEfd/QXi92cRRaJnwMRfay1AmRuKd8B6DLQjxLIW43EzBCca9X45Xck6pqrw9kaOHE l3+6JLRj3CCMg== Received: by mail-lj1-f176.google.com with SMTP id a36so2722916ljq.8; Sun, 11 Apr 2021 20:15:45 -0700 (PDT) X-Gm-Message-State: AOAM532rxptN0jr3QjYBlmz38QYBe9WQVVCeUHXPk3sRT6g5+zZgk+yL 3BhKQsSkbTeUM1jmANC7MkIS9HVWtmUm67Dw8OU= X-Received: by 2002:a2e:2f03:: with SMTP id v3mr11027054ljv.463.1618197344265; Sun, 11 Apr 2021 20:15:44 -0700 (PDT) MIME-Version: 1.0 References: <20210411131007.21757-1-jbx6244@gmail.com> <20210411131007.21757-3-jbx6244@gmail.com> In-Reply-To: <20210411131007.21757-3-jbx6244@gmail.com> Reply-To: wens@kernel.org From: Chen-Yu Tsai Date: Mon, 12 Apr 2021 11:15:35 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/6] ARM: dts: rockchip: remove interrupts properties from pwm nodes rv1108.dtsi To: Johan Jonker Cc: =?UTF-8?Q?Heiko_St=C3=BCbner?= , Rob Herring , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , linux-pwm@vger.kernel.org, devicetree , linux-arm-kernel , "open list:ARM/Rockchip SoC..." , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 11, 2021 at 9:11 PM Johan Jonker wrote: > > A test with the command below gives this error: > > /arch/arm/boot/dts/rv1108-evb.dt.yaml: > pwm@10280000: 'interrupts' does not match any of the regexes: > 'pinctrl-[0-9]+' > > "interrupts" is an undocumented property, so remove them > from pwm nodes in rv1108.dtsi. > > make ARCH=arm dtbs_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml > > Signed-off-by: Johan Jonker Given that the interrupts were specified, meaning they are wired up in hardware, shouldn't the solution be to add the interrupts property to the binding instead? After all, the device tree describes the actual hardware, not just what the implementations need. ChenYu