From patchwork Mon Aug 26 20:43:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 172201 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4862525ily; Mon, 26 Aug 2019 13:44:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyh2g8eR5ufVRknty4jN03PJYt3mr/gCOepvjl/EAXQh0MT4HfHlFIjJdSYndvvTuxCz1t4 X-Received: by 2002:a62:7641:: with SMTP id r62mr21324025pfc.201.1566852289593; Mon, 26 Aug 2019 13:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566852289; cv=none; d=google.com; s=arc-20160816; b=LRNUaXNRdtOswYssTVjdWoWTpUO0ZdI2KGaAWSAh6GQee03pTLBeCMEhI7rwq1O07H 81BI4yieegmQIwVRp8R3EMlyQtvFTj9HKqNXWGZJJnTBZEX5Kq2L9/t3BpweXw6Jm1BO NSpKFaG5d/yOjDhZRfz3qV4erKwb69EXlj45QcY4p26pWzqNmP/rlIJSx6dF9cg7tCa0 RDEg0oO6WBXzOZPPOVpldw/k/M9scNBhd1yWd8m4o/3DfqSQ75rk/g0UNaqPQUDWuoSm 5h4v3avwIoopFgyYT4IVn2ir0kMNGCzEmD814d2sCWhdoSfCXz+zoxIScy/vuRChu0ca poPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=E/rktgRZOj4ajpikVv+crFkgra/A+VXyEZXp2OkGiIA=; b=lOR/6DPnm16lhIfZkOtYU1Y1ZLPcxL19U8rutYc/6Kd4B4X2leHAUYbEF9nd9nplzt PQ2D6MY78V7aeqhKF6/LmOzdhBLWiJbiM3l+deHMFZ5SX0pxw9G3VwbbSZ5vcuqoubw+ WOgVqBkQzUItPAKysKkNky8kGs0qp1HpXl+qZQpikOTZNF3OG5RV931BxgpX/839t3VT XCWGuvRSREaLISbIJn8w93aRXIupFyM1gie7TSnWjhOZ9f14v6TP4CX3FnNFOEBed3h9 UD8CAmiP8r/TtFPH96r2YwbJ6K6WWr4lEpBq7L004DUiju5L4aDTcfN2tK8TRr2lzMzD +C/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vFprOVQg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si10137082pgp.405.2019.08.26.13.44.49; Mon, 26 Aug 2019 13:44:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vFprOVQg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730623AbfHZUos (ORCPT + 28 others); Mon, 26 Aug 2019 16:44:48 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35520 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730446AbfHZUoq (ORCPT ); Mon, 26 Aug 2019 16:44:46 -0400 Received: by mail-wr1-f67.google.com with SMTP id k2so16604625wrq.2 for ; Mon, 26 Aug 2019 13:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=E/rktgRZOj4ajpikVv+crFkgra/A+VXyEZXp2OkGiIA=; b=vFprOVQgqZZeaPGJRKWqtJlyJWWYc41QHKy3hDxXhTuDk2oleQKX7dQolHl7/Oxuru 5hkxV/8bVU6PBNELYJclSf2uFdJbSDT3kbZdZZFx7oCl8Y2hQ5eX6vS4a0MJkOxOrdj0 6WIsVdZZx+C1dr5WnFF16NeyqAi2Oclo02KxSKJ3ShiuCOXP02Y5Vwo91UuO0voT8DZ0 rGsFr9zu2P4Qt+H+BlZUhItrQu+SEO/H2H7t0hOKKwc7zY+uxXrBeG/+KopHS5j63Tbf zc6OmQktG7Q6E5Oj5EnTVV3DUm51dcEipqvTf9NuLebRYDVlOwVFKrvblaQz/WTIo58a /36g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E/rktgRZOj4ajpikVv+crFkgra/A+VXyEZXp2OkGiIA=; b=Gx3HMuPdhBh7ZSjimhxba1cuVHA+7mSJsh0sBXy/oYUW5zcyr/tB2KJTuSbQXf3cl/ 2ioM/te/OcyxeHCzw3b2jeajJde8B1w8g0ifz/nLa3NWPZlWkM1hgZQ/4IeYwU92y6ki gGySlNfBO3xCSGHHiHh+zd0SXwnJM1o01v1wjEuk13NYt7jYSdNAFm5jJM/uHmTSuPg8 VmSWstntHxr3BgJ41aLQuX7NORyxbLs7+kIx7/uKoluT3pRYOtW0CBRrjHVe1W5/ps5E c6//SL+STOvGKDiGUA/D+qa4G700BE6FsqyPJdQG+rSLEo2Pr10VTdt9OykeOnYpK1o3 HJZg== X-Gm-Message-State: APjAAAXQ9hxfDwtj+ohnxKhjn5ma51FOq1nQ0Sdk2vpz/xk9p1bMn0u2 oBrnV+man7d4Llrnigpn0mn4cg== X-Received: by 2002:adf:9e09:: with SMTP id u9mr24766472wre.169.1566852283910; Mon, 26 Aug 2019 13:44:43 -0700 (PDT) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:f881:f5ed:b15d:96ab]) by smtp.gmail.com with ESMTPSA id 20sm549557wmk.34.2019.08.26.13.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 13:44:42 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Maxime Ripard , Rob Herring , Mark Rutland , Chen-Yu Tsai , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support) Subject: [PATCH 03/20] dt-bindings: timer: Add missing compatibles Date: Mon, 26 Aug 2019 22:43:50 +0200 Message-Id: <20190826204407.17759-3-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190826204407.17759-1-daniel.lezcano@linaro.org> References: <20190826204407.17759-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard Newer Allwinner SoCs have different number of interrupts, let's add different compatibles for all of them to deal with this properly. Signed-off-by: Maxime Ripard Reviewed-by: Rob Herring Signed-off-by: Daniel Lezcano --- .../timer/allwinner,sun4i-a10-timer.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml b/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml index 7292a424092c..20adc1c8e9cc 100644 --- a/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml +++ b/Documentation/devicetree/bindings/timer/allwinner,sun4i-a10-timer.yaml @@ -14,6 +14,8 @@ properties: compatible: enum: - allwinner,sun4i-a10-timer + - allwinner,sun8i-a23-timer + - allwinner,sun8i-v3s-timer - allwinner,suniv-f1c100s-timer reg: @@ -39,6 +41,30 @@ allOf: minItems: 6 maxItems: 6 + - if: + properties: + compatible: + items: + const: allwinner,sun8i-a23-timer + + then: + properties: + interrupts: + minItems: 2 + maxItems: 2 + + - if: + properties: + compatible: + items: + const: allwinner,sun8i-v3s-timer + + then: + properties: + interrupts: + minItems: 3 + maxItems: 3 + - if: properties: compatible: