Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1489393pxk; Mon, 31 Aug 2020 23:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpcybPtEkUCpwEt2sDZd7uVktuZ4lN010H9BTQhP87HolWS0ijZtVFfze0Ni4iypVt5/VV X-Received: by 2002:a17:906:6a52:: with SMTP id n18mr106703ejs.58.1598940215324; Mon, 31 Aug 2020 23:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598940215; cv=none; d=google.com; s=arc-20160816; b=j2NyNz6QX/aXdIEYhEwd9q25OOvut5pzFFWGcwDkD0BCvYYygSqKNAsIcAvT5y6xRs hJ7I7fhwWCi/mC9r44NGPRqJy2uTmZTiZT3vHI/0Ig9qeimyfU+ejXuts7hBqkQhkoYf mAGyFdcxe69nPnWFWr1ym6RbECjvIVOnSvDKbsZ0Ck9g1WP71i22oDiJ43fsoxdtXHFH b+M8W4I9SNSmTLn3xnbPCVljCKUbQdalEIiHMrn0qOu4Twnh2OZegDn3ovfgiW2mLSGX RI7X2XzBo4USb9N4cb+gXNd6I6Ya7iiCiVtZz/Ld8Se1N8o5qRsjfvEdR2uknBeHKOq9 bdeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YG5VVLnr0PW/yZAIIXvrmgCG3qrxXpxZ6xJoDnhxDp8=; b=m/dUOD+zcHTEDs5j1VxCTOvLEA/1bhaoFbnrnEPlVHjLVUxKUJZ7C2xIISeqzNMdZZ 9M0/8F/0z3TNvv2U5XHfWnNyC5ZTydBRQsqY4YaoT5897EFcYnQh1pNeHPooIt3+7lPZ UUWxmWMq/wZg1+1zRg18MsUEcZrojagI4b3DerCaDIVDYbuZ1+xjt3BOZLrGi5G4JKIU LkPwcBnqwR8ScRHZduPVsBJYOMfdpST2G7mq9FIxRcnxfOPVaYXfLPonv7KUJYsCCHR1 q7wOiggaN3dFjwLwpXSMfxXaaP1t3ixx7wQiXGDwhsOFsqu9LWERYdbfE8yLDFd0WhWS 2F6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=I1Cl2FDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v6si33772ede.29.2020.08.31.23.03.12; Mon, 31 Aug 2020 23:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=I1Cl2FDV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726116AbgIAGAj (ORCPT + 99 others); Tue, 1 Sep 2020 02:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726078AbgIAGAi (ORCPT ); Tue, 1 Sep 2020 02:00:38 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCB5FC0612A3; Mon, 31 Aug 2020 23:00:37 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id c10so245494edk.6; Mon, 31 Aug 2020 23:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YG5VVLnr0PW/yZAIIXvrmgCG3qrxXpxZ6xJoDnhxDp8=; b=I1Cl2FDVaVvaOSOfgtQ92iqMB0672fG0G4xJKICPc4tAG3bPNWYmcZAC48HM3JiKyd oLAnsx6Z8+CW7CjXdqggMfMDaXGZAQAwAWOkEvYOqmABVzvNjcS1+g/1nsPV2qsJsaGX 3dTTEn2MWKQZ2EcnCx6rB+dHrADKNuYQwfz+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YG5VVLnr0PW/yZAIIXvrmgCG3qrxXpxZ6xJoDnhxDp8=; b=kAnRDKSzwqnIf4dpESupSYW95pdT8HZd+5QTIxJuVICJOl00mK/l0j5jCNAqm9Xcie 8GsEyJ/fRCg2LR/8WIdrBIUEstnsE2wxeSduCHu6LdkLN6cTvgN7IAFr65bsdo5P23Vj v4jncIBueCeYDvEhJicSt54B+/OM9BqQF/zUkUXNOeoyOZRtLT8N8jukDwbvMp0IYdnt Aix3LlZXv9YRlV8uaGHTf/Z3Zzw2aVfG53cIGX8fCxlUIF3ByNkQsWeZsoJ2Pxyo/EKt du2VU0N5ltbkZ7FYBU9d5b8irptvKv9YazZWXPwNKrsdNO+M6imM611Q3CmFKQZHjAaX hsww== X-Gm-Message-State: AOAM530MiAEVRth5kzRjW96HuvKa/IS1HJA2xnbGDokyMC6BjyA8vHPn AcPI8J+/XNsMfPgNAz3hXGcnIchDqPuqZ9Nr3ig= X-Received: by 2002:a50:f403:: with SMTP id r3mr348556edm.260.1598940036519; Mon, 31 Aug 2020 23:00:36 -0700 (PDT) MIME-Version: 1.0 References: <20200820161152.22751-1-eajames@linux.ibm.com> <20200820161152.22751-5-eajames@linux.ibm.com> In-Reply-To: <20200820161152.22751-5-eajames@linux.ibm.com> From: Joel Stanley Date: Tue, 1 Sep 2020 06:00:24 +0000 Message-ID: Subject: Re: [PATCH 4/5] ARM: dts: Aspeed: Tacoma: Add IBM Operation Panel I2C device To: Eddie James Cc: linux-input@vger.kernel.org, devicetree , Linux Kernel Mailing List , linux-aspeed , linux-i2c@vger.kernel.org, Andrew Jeffery , Benjamin Herrenschmidt , Brendan Higgins , dmitry.torokhov@gmail.com, Rob Herring Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Set I2C bus 0 to multi-master mode and add the panel device that will > register as a slave. > > Signed-off-by: Eddie James Reviewed-by: Joel Stanley > --- > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > index 5f4ee67ac787..9cf2e02ae9e2 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > @@ -438,7 +438,13 @@ aliases { > }; > > &i2c0 { > + multi-master; > status = "okay"; > + > + ibm-panel@62 { > + compatible = "ibm,op-panel"; > + reg = <0x40000062>; /* I2C_OWN_SLAVE_ADDRESS */ Other users of SLAVE_ADDRESS have included and written the reg as follows: reg = <(I2C_OWN_SLAVE_ADDRESS | 0x62)> Which obviously has the same result. I'll leave it up to you. Cheers, Joel > + }; > }; > > &i2c1 { > -- > 2.26.2 >