From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF394C433F5 for ; Fri, 24 Sep 2021 13:55:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 868AF61050 for ; Fri, 24 Sep 2021 13:55:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 868AF61050 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K/iLcJVRuyHuWTvLFxpmlkej3NqinVmNunF8bFE+ls4=; b=ULeTbhCaso3SAi L1eF8V62yiiBMXtqrCfji3XkB1/LMCiSgZFZWJU5aFzaLWw8KUWy/mL2uURYswqZTO5foXOjmgiwW UrebRvroha6ViFtUZ0Ut2oZmWvNwEFe1gN4CoS6U4M3yCkROtfvhw5YDG8wSmMWHuFTMf03KZ44AT XEt6QZdWvoJCSvlnOnrX7N1iOjS4+TetRMu4xgaoBr2//RkxdJcB3PxHYh2ehgUBd7UektMfX1Kzz EYAhntzMsxk2Ga8fWtHD58Yxo2OSJ4CgdV3HNxofLezBHsbgFj7Y4nsybhELfMc8rz9Tcuf+Vzd4G cTImPwVx2B5NHOzO3rCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTldl-00EjhM-Dz; Fri, 24 Sep 2021 13:53:26 +0000 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTlXW-00EhKC-Fl for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 13:46:59 +0000 Received: by mail-oi1-x22c.google.com with SMTP id s69so14426260oie.13 for ; Fri, 24 Sep 2021 06:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zF/TPRu6sx3vHBsjEOizlvJmgFwDT6yVuKZMfWg9wko=; b=kTfdc8Ud5JoanoIZn8cIe7IFxBUe5JJPLHZYqdAq5RIRB5kqh2wakyD/5+v9FkdFVj GKlSb5KHE+M5Gyfy74v93y1dEdS3HgD3nAwW6RqVptU5+5nh9X7k5yzgjr8VTMJubkl+ N6nJ26/1sThmSv8Rz9F3g+1bJ2FrUKr0hjYIfT6cFhztX9ZSSj67KVFs+zBakwOZylQN qAp5m4JRHwr1k8iYnDr0jeNXsbw8vFb4IIhlu8f09XrduUnyFdqTnKE8UlSESiCk8OtF PqLKpk26dkhXU/cMLTf4ipE5Vg6G7rxhyzUwXFh76Pp32wSQI8Xl72CtLNIM79i7K5WD 5cOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zF/TPRu6sx3vHBsjEOizlvJmgFwDT6yVuKZMfWg9wko=; b=hFfnrganyg4vlKvF4aCzSAswP/OOZb+WYcRbUIZyhFfg6z1SA0shwGZB1Eqm3lLlZh /9k6L1GdJR6M2prI1wKCeFD2Ogo7lkFZuO7MV/3tWfM88Emb6fqTCqjgjk7TVwA1fxFZ OUwjef6F2bcUARKPRZmghvhhkZXs3GXAUD2exBLIsFla0BkvpHc77yJEktBI+VFx3dzF T81Ge0BX8wDTE2R5gcGB8eX7SfECdom1Vb2yF5DF2HoyM3okPJBAw2qX7JOudNqfIwis rw5k0rv6deNDrAT7ri4Et9iD/M5RGWyhDfmjHS6J6bahOWr/Ye8467/XJS7R7I2c5u4p JTdg== X-Gm-Message-State: AOAM533IVKIcP55Z5iyOH17t2i7AtxzDm5c6AkqnfQ6SpjpUqnWG3xCF /9LyyLZaGIjk7+3ABF9LRjnwMOlMjBQ= X-Google-Smtp-Source: ABdhPJxqVIp3qfkGd2yaQNGf+tB+skdQE80oLc4XhU5aUZdJkU155CSGvhiXb74RQ24+k42UEKequw== X-Received: by 2002:a54:4e03:: with SMTP id a3mr1581976oiy.124.1632491217192; Fri, 24 Sep 2021 06:46:57 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:485:504a:f59:f7c5:95fe:5583]) by smtp.gmail.com with ESMTPSA id bc27sm2073223oib.5.2021.09.24.06.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 06:46:56 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, marcel.ziswiler@toradex.com, otavio@ossystems.com.br, Fabio Estevam Subject: [PATCH 2/4] ARM: dts: imx6qdl-apalis: Pass 'io-channel-cells' to the ADC Date: Fri, 24 Sep 2021 10:46:43 -0300 Message-Id: <20210924134645.2629481-2-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210924134645.2629481-1-festevam@gmail.com> References: <20210924134645.2629481-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_064658_571252_81DEC03D X-CRM114-Status: GOOD ( 13.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The STMPE811 ADC on the Apalis SoM board can be used as a provider of ADC capabilities to other devices, for example, when a custom baseboard has an SN74LV4051 analog mux. Pass the 'io-channel-cells' parameter to indicate such possibility. While at it, also pass a label for the adc device, so that it can be referenced in the custom baseboard. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index 7c6d9c75d2bf..4092af5f6999 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -330,10 +330,11 @@ stmpe-touchscreen { st,touch-det-delay = <5>; }; - stmpe-adc { + stmpe_adc: stmpe-adc { compatible = "st,stmpe-adc"; /* forbid to use ADC channels 3-0 (touch) */ st,norequest-mask = <0x0F>; + #io-channel-cells = <1>; }; }; }; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel