Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp529187ybh; Thu, 12 Mar 2020 06:32:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vunzSZIot7slhhmecgofROT4siRnSdhPTCQfnYjC+p1qRuysC3cVqyTCSPY1q/dIR4rzq4z X-Received: by 2002:a4a:d79a:: with SMTP id c26mr4065579oou.60.1584019965052; Thu, 12 Mar 2020 06:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584019965; cv=none; d=google.com; s=arc-20160816; b=Kg5+uP80RrulIluT1IlT4WtpvYazdb/EwsPjx37VZ3qzQR2w7LDgIEd17xusvV/MIt x7Je60pSMJfJLEiecjb3Od9Kdy8TACelI2Bf9AhvYjNkACmkZmg2rD2M44cEtwNbwVCS TtzWy+n5E8ioG4ZBBbloaGeSJgTGhS65MKMYl9xOKeJgdy0R53RIuNxnK+hMlHmBHxRN Pbsev80PO8gR4LKCBSFXeIAE5n4JWrwTME3LjeT+L1R+fiWihxIT+DLF3fDd4xBdBo+m 7Wik6OL8vasEPbfPejsv9s8o2lfdAJ52MYuj0xWIBN0CcSFZMqyAwq8N6/hPkkFHfHru mbCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GLQxofLrrQufYfCzcz5A2fXA3LA5FXwNOEDuv3qZeb4=; b=UywTOa7sXsbU9CccZmlLYkNrqONy29C9Wy+0hxriLKxtNzd7DEZq+w4vTr/7OCgsho XOK4X+YuN/4bFSMd+NgvmcVp79HVUtiNZqnsYnZ3ipI/r3dCs2tk60DY3NyPZ+VDRDS0 q2O9Se674Ag/nidjgjbQdFbtZ8/UguG86l8deqRrCwEOju1s1g9AqRlP8TScKRrxQgoX YX5HqltYQqjwiCRi00AB+XD9kKp+lZx9RN6Gv/kU1zvs+BKPqAz8NrWeb/pGtnE14Kiw llIlq/ct9AcuhrtSCGHaINZ8T8VlLeG4maB3VpmthqCwBeFUlOeLu9f/gqv5uU2nd0ye 2Zvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=L58sEGr8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m81si2699731oig.190.2020.03.12.06.32.31; Thu, 12 Mar 2020 06:32:45 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=L58sEGr8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727508AbgCLNbx (ORCPT + 99 others); Thu, 12 Mar 2020 09:31:53 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45679 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727450AbgCLNbp (ORCPT ); Thu, 12 Mar 2020 09:31:45 -0400 Received: by mail-wr1-f67.google.com with SMTP id m9so7450463wro.12 for ; Thu, 12 Mar 2020 06:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GLQxofLrrQufYfCzcz5A2fXA3LA5FXwNOEDuv3qZeb4=; b=L58sEGr8l+astd+Uyrn2GV7dFQ2zh9/AkvdoHOz5Dvh56QoyE33GsFMwfgPGxtgeVy rUyclAX12ZUzQamElKe3/1hQpBGyLKkSTotT4kN91veEu3xyTpu7bz/Ivb7ciVxgyXor AvjCWflJHeenQ0mdJNTTNrYGZGMIJGxo8nFsWkQFRJ9A4UD+/1ZZril2UyFUFCI5OZfJ 8Aw8K23ii6LD2AS+X53x8DNvGfoEgBVjS9c0aR443i2O2+4CNzdxF/MgElCgG6H8BZ/2 fW1/+HadDzP8Jebsefl3mJSxf0SQpVcTwkB1kqu0oOfN2U5ZqnAKhoBgaROGpwrIOgHM 34BA== 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:mime-version:content-transfer-encoding; bh=GLQxofLrrQufYfCzcz5A2fXA3LA5FXwNOEDuv3qZeb4=; b=oqM9KGBRtSvEZMAG/jpiSmSxPOVd41UqBoZvy1e1S4efADtvFKkwVHWBycywggth0r YV2ve6ERRxEGwOv2Yox5ynMvXSLL3eTVeTHCICd2D1hbiPwj5dTede6oDteJQ3IpdspM iQaA41OQKW74fB1H66kEsyunIQVtrH7wxCuMlx1W6W5Cz3zGPDEl4oJG74TFhvc6IPWb AOLREfaHgI6r3Qi652poYbzprlfxLl7iJ2IUTOXS2CxjEPG76tsbkZTw/roNFP4NFCIQ hG49aT48FJnVphQZMFgtwn6svDeVXTJH+ApWL+BBZCWGNUoFIH0/9ziyK2Poi6XnUnEp ZGGA== X-Gm-Message-State: ANhLgQ3pIPU1/6pFVEiP+CU3YBxEUxKVqo5EZ+PMcgVn5uzoDik8J+PB 83bqGoU92iUsiD4IQXGi2eyJSQ== X-Received: by 2002:adf:8182:: with SMTP id 2mr10608373wra.37.1584019902623; Thu, 12 Mar 2020 06:31:42 -0700 (PDT) Received: from bender.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id m21sm12242885wmi.27.2020.03.12.06.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2020 06:31:41 -0700 (PDT) From: Neil Armstrong To: broonie@kernel.org, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-spi@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/9] dt-bindings: spi: amlogic,meson-gx-spicc: add Amlogic G12A compatible Date: Thu, 12 Mar 2020 14:31:30 +0100 Message-Id: <20200312133131.26430-9-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200312133131.26430-1-narmstrong@baylibre.com> References: <20200312133131.26430-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Amlogic G12A SPICC controllers uses a secondary clock used to feed the baud rate generator and the delay control logic. Signed-off-by: Neil Armstrong --- .../bindings/spi/amlogic,meson-gx-spicc.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml index 49b617c98ae7..9147df29022a 100644 --- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml +++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml @@ -22,6 +22,7 @@ properties: enum: - amlogic,meson-gx-spicc # SPICC controller on Amlogic GX and compatible SoCs - amlogic,meson-axg-spicc # SPICC controller on Amlogic AXG and compatible SoCs + - amlogic,meson-g12a-spicc # SPICC controller on Amlogic G12A and compatible SoCs interrupts: maxItems: 1 @@ -40,6 +41,27 @@ properties: items: - const: core +if: + properties: + compatible: + contains: + enum: + - amlogic,meson-g12a-spicc + +then: + properties: + clocks: + contains: + items: + - description: controller register bus clock + - description: baud rate generator and delay control clock + + clock-names: + minItems: 2 + items: + - const: core + - const: pclk + required: - compatible - reg -- 2.22.0