Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp63055rwd; Wed, 17 May 2023 14:44:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wu+lsV+QACChvYpsoADi8eeEjPs+j6gtCNLwLjo4vtlrntcoZkOSL2+TyEe7XFywLpiTF X-Received: by 2002:a05:6a20:3d19:b0:105:23cf:747d with SMTP id y25-20020a056a203d1900b0010523cf747dmr21840386pzi.5.1684359879918; Wed, 17 May 2023 14:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684359879; cv=none; d=google.com; s=arc-20160816; b=Murx++sqJZbqqRrC5ChbHEafOZiJ4IOlaDqdem1UVpV2s1COSlFiAG/m5/ZMP5iRl5 0OWIdbKvXD9q0g75QPXoxhyZA6VNT2TkbPnU/pTI7YkyggmALc96oXrLRgKBcxnKgmYG KEDFcmM2Wuix/6cDqsfN+Saz+FHunUEQpzrco/2Acv8WE01veKGM6UfpWHMou1Rgt60k YSdpR5L5HdnRwEybGBGg4IRdAmJilNFIx/EQ3htgvGNhkSji5U3n2Ur8CZ51pyCg1hM3 iSkloafevokOYTb5anwuWorcXv2EAQn8j7FbixqPMYouY037IpAy+I3n0WqB5+CmeWWC bqow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+ESbY04o8nMiMylkhFsmBCHORahVNqly1l+b0KOa640=; b=byngQaLYpARD4T6X4nlDTMkzZcKVgm8VUwhMoYtNT9Xj1yN5vXuvDDHFCqsoJrpBZe N992Usjdvz5u1f4/w1YpvyttGFXEvov2tcAYyiXWgzM5DLkTxVrL0foRqpUvkslvTrGG SOuclFSmS8tDgmZoyFR/iKNQuxFrUZwC86qz5d7CXvtAgSYi/IzPbgJmtO/4MENX7YiN zfmWnf63CbssFsZFJ+/6QgBXP31ue6g410Mndvs7ZOuMqXOfNGAh9eIfSRu6ilT98Hzk hLiHuQUtwE3fa4UA8lQpTAN1HI66FXDy1wFN1OCvt6zAQPyrX+GVFNc/K5PFrfu54oAj vvDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v5SexcE/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h132-20020a636c8a000000b00528d057c33asi20410273pgc.854.2023.05.17.14.44.26; Wed, 17 May 2023 14:44:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v5SexcE/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229484AbjEQVL7 (ORCPT + 99 others); Wed, 17 May 2023 17:11:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjEQVL6 (ORCPT ); Wed, 17 May 2023 17:11:58 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 595DB6A67 for ; Wed, 17 May 2023 14:11:56 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-559e53d1195so14608597b3.2 for ; Wed, 17 May 2023 14:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684357915; x=1686949915; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+ESbY04o8nMiMylkhFsmBCHORahVNqly1l+b0KOa640=; b=v5SexcE/rX2IDDr2Q+Jg71qCnOgAEyqh82pmkfwBGRhxmmH1TRMWr90nRSxjjoCF1r hGYuFJu1daRVqli8IXLNSBOXNnNwKzOdeANaee76IbW06Pf/BTOfIUH2zHOWfF/wUeLr c9kW4YK0gfMM5I4x7QJZ47n0t+18qK5ugWD6CJ4BotPw8/dhlvZv24u9ZNAgwO59exXX MWvs3Bh2AC8sMAG2Hx/UD7eVqmCETIqXr/Ve9A2Pb9L+Cr7EBH415lQBjobg5AAXwpbz Sd7PazZFNAZ/ItAcx6G3TlD/PshhlglA0pY56ts9Lx8xkxwMk/sofpb/+T6wZqAd4tS0 oXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684357915; x=1686949915; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+ESbY04o8nMiMylkhFsmBCHORahVNqly1l+b0KOa640=; b=D73vj83S52y3j0TRCqC2of9kGbyReOoGdeAlmvFPfW0Y+onGuMAkMB4Yfz3YpzenEs omD2kQfC8KQ9Jxx7w38uciGXagtxqIxCGFgqWYEdmPdmdCoZI0QK6a4nNz3CRB0fG8hy hjFyKjvHGa8f/SD+DFh7uMjsJ5iVh//cLaBb5kaciczm0PjsOweaavDMUlInVBDTfoC/ byFw+88i1K+G23s/jNb5C/2EtsyDP0Vfu6OtycySQN88OGfUtuxlr5kUb2wLZEyBVVbh 7GkpriNiElaNygyxp0KtUUA1FnjUih9E4OhtJNviTjNvLd46elJ2e9jFDLjjS1Pw4pEe zbAg== X-Gm-Message-State: AC+VfDz4Eysv/kRY4KrsmvlsGHY5ni7CiT3B0HZ9Uiw5v2ygX8aYKCAZ YqbcD/sisbsHcS9K1loQY8TXaBkJtSeU0Ni6UZi01Q== X-Received: by 2002:a0d:e84f:0:b0:55a:679f:1d90 with SMTP id r76-20020a0de84f000000b0055a679f1d90mr43201104ywe.2.1684357915574; Wed, 17 May 2023 14:11:55 -0700 (PDT) MIME-Version: 1.0 References: <20230430-nokia770-regression-v4-0-9b6dc5536b17@linaro.org> <20230430-nokia770-regression-v4-1-9b6dc5536b17@linaro.org> <20230517195911.GG271152@darkstar.musicnaut.iki.fi> In-Reply-To: <20230517195911.GG271152@darkstar.musicnaut.iki.fi> From: Linus Walleij Date: Wed, 17 May 2023 23:11:43 +0200 Message-ID: Subject: Re: [PATCH v4 1/4] Input: ads7846 - Convert to use software nodes To: Aaro Koskinen Cc: Janusz Krzysztofik , Tony Lindgren , Russell King , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Thomas Bogendoerfer , Dmitry Torokhov , Mark Brown , Bartosz Golaszewski , Andreas Kemnade , Helge Deller , Ulf Hansson , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-input@vger.kernel.org, linux-spi@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mmc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 17, 2023 at 9:59=E2=80=AFPM Aaro Koskinen wrote: > This does not compile as nokia770_ads7846_props is declared twice, > and nokia770_cbus_props and nokia770_mpuio_gpiochip_swnode are missing. Hmmmm I think we should probably update omap1_defconfig to enable all the OMAP1 drivers so we have good compile coverage. It's the ifdefs that fool me into believeing the code actually compiles ... > On Mon, May 08, 2023 at 11:20:06PM +0200, Linus Walleij wrote: > > +static const struct software_node_ref_args nokia770_cbus_gpio_refs[] = =3D { > > + SOFTWARE_NODE_REFERENCE(&nokia770_mpuio_gpiochip_swnode, 9, 0), > > + SOFTWARE_NODE_REFERENCE(&nokia770_mpuio_gpiochip_swnode, 10, 0), > > + SOFTWARE_NODE_REFERENCE(&nokia770_mpuio_gpiochip_swnode, 11, 0), > > +}; > > These should be nokia770_mpuio_gpiochip_node. Fixed it. > > +static const struct property_entry nokia770_ads7846_props[] =3D { > > + PROPERTY_ENTRY_REF_ARRAY("gpios", nokia770_cbus_gpio_refs), > > + { } > > }; > > This should be nokia770_cbus_props. Fixed it. Also enabled CONFIG_I2C_CBUS_GPIO and recompiled. Yours, Linus Walleij Yours, Linus Walleij