Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9345831imu; Wed, 5 Dec 2018 03:20:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/WsWiaWgRADXciHwqqC0EPMgSfAm8MsNvkmy3GU27cs54HMo8CAQo5rP86Jvpc0W6+RmV5K X-Received: by 2002:a17:902:724a:: with SMTP id c10mr24385193pll.51.1544008852747; Wed, 05 Dec 2018 03:20:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544008852; cv=none; d=google.com; s=arc-20160816; b=CD+1FbGLwGqMbEove9iFYzx8W/eLY1uspSNVnuLNxE6EniBXE7J4qDbf+Dsw9pBe9G XUeh/mC08AeTNIHfU5UfaTxaTDHI8KtOhsOOa9o5Yb5WFfXYKBfA0fHDf/dovtgZmOwW J4STP2VXJHK3Qb9psEcy4W+xjLX8pezKP0KgrPKxgTDJ55jQxNi0cD++H/x4TcEcF32J z2nLZK8/N4C/WxUaknRAuBL9FE9sIyYp9K/9kR4FVGuLL9g20p/1KyMVIQ3CG/goXLdE vmM5xZ6rHEBSufreAUYgHFoaII0LdPqQbToUXc2EErl/gFBJROvf4Xm4fM4cG71liKsz awJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=8CHfiRwxEDOflDsQ1UB4C3wvULIvrMVzWwFsjRMLPAQ=; b=Gt/SxGITEGztNtKXMmoGJTe/ivuAklh/8J74K7Rod36gerlel5yZPWt0qRNrH+Ak+H /07gtnU0EwIdZoR4TobRy54gU9bXmqgKQzGb+jzut0IA2WVmzqURlrQP1oIlpglBaG0/ 8L1xIOWiUBT5Fv0CRXBQ8L+o43+T7KajHCttXrMLPA6+R10+TWOalrMH/ELtaBnBUD79 xgmX/rxS3Tq7/K42r2wMCvg1gjZb2kDZx6X8Pd+dgoztppTrvKhMVTHAer7iXwPxebIB n3G0y2PgEO3fJNQCDGI99V+KRPynU9f3nys1ezCiVdHrCDFkLJh58PLE27gxIMExVvIp DnWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WBEK0eyf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si16278015pgp.546.2018.12.05.03.20.37; Wed, 05 Dec 2018 03:20:52 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=WBEK0eyf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727388AbeLELTa (ORCPT + 99 others); Wed, 5 Dec 2018 06:19:30 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:46405 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbeLELTa (ORCPT ); Wed, 5 Dec 2018 06:19:30 -0500 Received: by mail-qt1-f193.google.com with SMTP id y20so21728504qtm.13 for ; Wed, 05 Dec 2018 03:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=8CHfiRwxEDOflDsQ1UB4C3wvULIvrMVzWwFsjRMLPAQ=; b=WBEK0eyfX09plNYhK++Zga/wk11dSY0KVQOOVuoZE7j6Vd1ayw9QaLxIG94CIsSCYO /nAuZnrEAJcrTFRiw8CSSMMZeu48sRhbekzIRQsgoF/Rqn40EeGrkuv+smTXG+mYaGfm 6hFInu5St5kQRFiq6uujHCzntYHPhX63kKELynEvxawGr30Bvd78yOkUw3aqVD71Nk5r z3By8DHiiWzEwMx0kAdP4qt13PPyo+RXhfu0i2LxX7xd0RutHe7P8QyKeUDUTTOqqgRu ihXHVckipdKO6kOx0x3Vm8r2rCeJzKmMMZ+qr/fbkbL5Sx9+iv0eVsXs8uH6bgK8rHxO 4Zeg== 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; bh=8CHfiRwxEDOflDsQ1UB4C3wvULIvrMVzWwFsjRMLPAQ=; b=V2yNKNJ3aQcOlxSCFvaCWFZ8nL8kyE1krFHWQtsoMh8o9M6ewhOVuuErZ9HBDePuCX ynkGPHGCK4pAk3NLb/9fZbjH6dqjzqSEIElCQpNy0MQT3ylvea+XIPIo85ohMRXCNHB1 NJ16D5E7ovJmAzQfjoB8jOtzrk/y58U2Nv6zzvSoaucapWFzXwVy7N0zN1JlSnhZQUko QWYWnHzfhRFZ326X3wvvbw/fUumkb5X8tyEW1PK3aoiMfIQrF4eovWE4z2TVfrpYOKvJ hNTXSqJ/u31Swylhf6ZjfBNbWhxQPDwHFpN5kbYixV+EROfWwxvgpgH8oWBJd9DN0RGq EVHg== X-Gm-Message-State: AA+aEWavagy1wFOpEePhZIxMqgKELUXI7pIks/mzizGT/3WGlUfGBtOu HkOtilVV1lFtJdY0vig5X/4= X-Received: by 2002:a0c:c993:: with SMTP id b19mr22225456qvk.126.1544008769237; Wed, 05 Dec 2018 03:19:29 -0800 (PST) Received: from localhost.localdomain ([201.82.144.36]) by smtp.gmail.com with ESMTPSA id k62sm9960189qte.86.2018.12.05.03.19.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Dec 2018 03:19:28 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: cphealy@gmail.com, linux-kernel@vger.kernel.org, Fabio Estevam Subject: [PATCH v2] ARM: dts: vf610-zii-scu4-aib: Add HI8435 support Date: Wed, 5 Dec 2018 09:19:35 -0200 Message-Id: <1544008775-24128-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the vf610-zii-scu4-aib board there is a hi8435 (32-channel discrete-to-digital SPI sensor device) in the DSPI0 bus. Add support for it. Signed-off-by: Fabio Estevam Reviewed-by: Chris Healy --- Changes since v1: - Put status as the last propert - Use a generic node name arch/arm/boot/dts/vf610-zii-scu4-aib.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts index 52bac14..de6dfa5 100644 --- a/arch/arm/boot/dts/vf610-zii-scu4-aib.dts +++ b/arch/arm/boot/dts/vf610-zii-scu4-aib.dts @@ -397,6 +397,20 @@ }; }; +&dspi0 { + pinctrl-0 = <&pinctrl_dspi0>; + pinctrl-names = "default"; + bus-num = <0>; + status = "okay"; + + adc@5 { + compatible = "holt,hi8435"; + reg = <5>; + gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; + spi-max-frequency = <1000000>; + }; +}; + &dspi1 { bus-num = <1>; pinctrl-names = "default"; -- 2.7.4