Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1237320imm; Wed, 6 Jun 2018 12:38:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLAt8z3zkbTfqRUz41SoNOgy+aQLlxyr94ngo+kGGEdZkIqWQ4h4ARaRT3r4E31QIoCR+Kx X-Received: by 2002:a63:81c7:: with SMTP id t190-v6mr3615485pgd.378.1528313923301; Wed, 06 Jun 2018 12:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528313923; cv=none; d=google.com; s=arc-20160816; b=E3YT63j3X9prhE9NChGkGabsXKyIiJ4eNxijv2E9J8VIYa1VvPZNipv4U9yv/JjT3G ZCMfFwwG21WFDBb1RxRYtd1eA6yOc7QRzVA5NH/Eu6RPuPNUV4a3hnh3RuVZlHjWmxXv WBMhgkiVpeTPnaJhfMprPy52Yhu0PFyxgz0ikCz7a0C+TJeP49H8eKNCFUGqfsUEqPFQ pHfADVEEiXLVyI2A65jfbYQPs/KEdJwAHmpJPy2ogM4Yg7SMrVaLY6GTR0tESja76MWo Ttf8NTDtfacg1cICVaMHzg5TKfEmE0GtpsSahqXyYpV8GeUmtS3wzmqEmrxHudm8lGvz prbg== 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:arc-authentication-results; bh=gRlJKzsrjUkXCPkm9CJFc+arRqQTE6jVfz0e05peksA=; b=kvk3WJ5U4s6aypY2lAMhex0a0bJaGzM71nne7kT4NNJLTNJW97nG58NHd+St4G8cGg SOURBfyQS0xi2KWA/5lwjs0wE9QpMBZnNhUlcP9A4JMBt0HqwfZra9xLCTR1mbSzybWW H1wSeD3BNctSOODKbSUUmfQNTcJT/qdL6e8wTrB9pNdaR1AoH1it53efkatBUA9NBMwj Fs81OVBchMOH5iq9IJlg4LgbxkIDjMcwLh+Ub6AeN/YS7PXOaBdXuByY6h5mis2xaMX4 CcufCqG6QdYBhygw9NrszEjrS9n9JnDjlFilo9ryhZbNo7vm2NEHqYI/7xbxhgma3zGq umqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gBivzBmb; 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 t1-v6si21613864pge.439.2018.06.06.12.38.29; Wed, 06 Jun 2018 12:38:43 -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=fail header.i=@gmail.com header.s=20161025 header.b=gBivzBmb; 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 S1752427AbeFFTht (ORCPT + 99 others); Wed, 6 Jun 2018 15:37:49 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35814 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeFFThi (ORCPT ); Wed, 6 Jun 2018 15:37:38 -0400 Received: by mail-wm0-f65.google.com with SMTP id j15-v6so14277247wme.0; Wed, 06 Jun 2018 12:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=gRlJKzsrjUkXCPkm9CJFc+arRqQTE6jVfz0e05peksA=; b=gBivzBmb45ws0QWzFjxXFetN6wna8NlU2zqDw1sI3akUmUapnCv2QP+LYi+jTtecFy 3BiTJZOw4gcz0t/U+OZJm6NOVtjbcVZmZNDGVcJx8HuYoEzDijZw3CpQkrgmuIAvufqx YIW2vKNUeez3hAdFUEW91HLRCk1lXTprisCFTbPwrnYQKD4nI0gx4nt0b2KgIUf7Rjr7 1VNzNPW4a+Q+Ja+0VwXaNH7hc4o92ztImkSF3zkXMn5OoYSWQiSbsggcrvxNUrcE4Ux9 zUBbf4xDPe9EPboJczj4dV/RCG94S4p9JNN4g5djUlp86trF7S4bNQU6nsHurqRACPUW Zt7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=gRlJKzsrjUkXCPkm9CJFc+arRqQTE6jVfz0e05peksA=; b=GnY1lunmosL9dvZbCP5Be2INILDpSF5u191507orEKS7+G7EBTrQhS2tpmcYzHMgqw 67en0wScbyPfuAzckGRi6W3atvaSFEhoKrjhG8MKH9zG6fRVqgLmz/thuDavFYbH7tGQ HoFU7+OSN34FuSRAl/LOdwkrNlQuX0r+xG6OelGe2J8rXoMshCgTFdZlQxc7osRPn+iG lLIN6YmHMUQi7P10KZIlDa7hVrKu/4WktoF1zUXk1PPy5Mb67FxVsqt9JwIbxAI/bONJ hVpe9lmNc/PWgqH8ySIZLFQV6IhzwEK54fkHBU1hlyvXLx9wXY8F6C9fqSDEbyAvi/+c tcnA== X-Gm-Message-State: APt69E2wxvINm4E7045FYl/BqFTq5GCMIyR3whlsFOf+FZHrJEDAOC6W lJn7KQ9TCE+vyRyBnGlRjWc= X-Received: by 2002:a1c:2348:: with SMTP id j69-v6mr2716482wmj.112.1528313856725; Wed, 06 Jun 2018 12:37:36 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id m134-v6sm5346161wmg.13.2018.06.06.12.37.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 12:37:36 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 0E50510C2B81; Wed, 6 Jun 2018 21:37:35 +0200 (CEST) From: Mathieu Malaterre To: James Hogan Cc: Mathieu Malaterre , Rob Herring , Mark Rutland , Ralf Baechle , devicetree@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] MIPS: jz4780: DTS: Probe the spi-gpio driver from devicetree Date: Wed, 6 Jun 2018 21:37:30 +0200 Message-Id: <20180606193730.15087-2-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180606193730.15087-1-malat@debian.org> References: <20180606193730.15087-1-malat@debian.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The spi-gpio driver supports jz4780. Signed-off-by: Mathieu Malaterre --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 809f01a62955..308079ee8dd3 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -167,6 +167,25 @@ }; }; + spi_gpio { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + num-chipselects = <2>; + + gpio-miso = <&gpe 14 0>; + gpio-sck = <&gpe 15 0>; + gpio-mosi = <&gpe 17 0>; + cs-gpios = <&gpe 16 0 + &gpe 18 0>; + + spidev@0 { + compatible = "spidev"; + reg = <0>; + spi-max-frequency = <1000000>; + }; + }; + uart0: serial@10030000 { compatible = "ingenic,jz4780-uart"; reg = <0x10030000 0x100>; -- 2.11.0