Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp80642rdg; Tue, 10 Oct 2023 05:03:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQOF3gIy5v8f3m87bwDZKaOTNJggX2Mtw1Ot/lC3hR69nfPHxX3abgrfLU5q1mHFmVm94+ X-Received: by 2002:a05:6a20:1609:b0:153:7515:9919 with SMTP id l9-20020a056a20160900b0015375159919mr21809236pzj.21.1696939415942; Tue, 10 Oct 2023 05:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939415; cv=none; d=google.com; s=arc-20160816; b=KAEG5KIOQ0PAhbuhrkMDzO4fZuqcdRRzXDRDb4rQ5FW8iFOkocHVnAD4E+SGjzx7nQ yPiHV4/wiz2D0JDg3zUZ1YN2DWyxrrs4s9sNnMD5CRmEDa3dFOYVFSsMLYVDply9xtP7 jc+B5kX41n2ua+Ha09YDEgUg+4gk5PgVIoYzBrdsLoOyp88lEiAJn7AZNHSQYAT7dtOX QepUJvvuoBxdPhv0od7aky9+iF9SEvWOKyRCEtWnVRaxRPdS8u+RmHxKqr/hMCamRbIp EXvAOD+WXhHBGpIiSXyJScGTHORIj+1ziLp2UmahuJPoOgIGInsFpbgwLEomfdOdURZJ E/2w== 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=0wBmjqlIuY6Zt3anxCmFrS7RpdSFcEoQFexeps6+6pY=; fh=DheLhsLsUyP8vq43yAHv48GOxHEX/PyegEa8pUPsFw0=; b=AqRZapNkkD9pB2NiYxPNeHLSheF/vvcdZEEJDI0Mr8jqBtGac2jOu8uGOuW4bUvQis DlLlEjusekRvwvUaHNopMHxAI217iX2ueSYqD/4qh2v7sfrqavUd82acgbm2NP2NAJx0 iyQa7b+2mbh15PTdz0ZSHn0hfNcHvnUgzgJ0TDRn3cq81l0hrYKvRkcc+mS8FeGnRbk9 lW8wBdtUsAsGdZtibHn1gfzfoGM35fJ5/kqnuwH0wC59Byo2xMad1wTFMUNbBPx/kcnb 1TlnZbX14B7NQ2gpCHc0GznrecPBJqBw9RY5q7nsXa18gEa66EddSsdcMw5GRHIFcfD1 aLRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rL1gnGF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w8-20020a056a0014c800b0068fac3509a9si9522067pfu.350.2023.10.10.05.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rL1gnGF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 670FE8160380; Tue, 10 Oct 2023 05:03:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231827AbjJJMDZ (ORCPT + 99 others); Tue, 10 Oct 2023 08:03:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231732AbjJJMDM (ORCPT ); Tue, 10 Oct 2023 08:03:12 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EB8C10F7 for ; Tue, 10 Oct 2023 05:02:11 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-59f4db9e11eso65691617b3.0 for ; Tue, 10 Oct 2023 05:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696939330; x=1697544130; darn=vger.kernel.org; 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=0wBmjqlIuY6Zt3anxCmFrS7RpdSFcEoQFexeps6+6pY=; b=rL1gnGF1CY5LPc8nXqvzRkIo1/UjamFxouqBjzU8QYBea4DYgr+wOmDJ4rGnF4hxxm TjgOf/uWchnObpuoDUW83O3WeNYsbV53RfyfEt+TY74ArJ4YjIPv0uNGijYsItDd6eB/ JCBDkAs1iBUO7yqRjmr3/jSaOHX7CYLv0Kv2M0l+b8yCAl/RJJE5XNEk2V32cSwkR5ag EeomPruX3/j1cQpUfnpIXZw+AS8FsKXyFr2ttHwqr0MpKA8gaf/oEFvpMRXa+4WgSpGP yIqak4qHkRDyL/byK4rbwlOjePGQHmScDdDSus4tdee21tFQSFGck++iAQLysjXG1YGS Z2tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696939330; x=1697544130; 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=0wBmjqlIuY6Zt3anxCmFrS7RpdSFcEoQFexeps6+6pY=; b=bSYtuEXGIRhpQ+YhMqwwIDP6+qkJpIMTfafos4gOYKPoDYoW1UWMUAkwrzhdcxzlDX uNfF5CEu/fhNdHxE3IlN2xsUfRj6lpBBQFP2LsSRYuNTEil6k+WrSGMWRkM4VQwTrzor xQ6kCq9t9BvUE6DAUg14ySIN8gPfXVfMVURUgcFiFVhTE7EWdsM92SBbRypwGhQZOZzP /rCHAaC8R03/tqDypjEBwGbbbWpCd/sfs1+RkM30nHOKZwVLeS6nhqtboa767F5C824e MojGDABzbuNrZ83TT/EIApOdM3T1Aqpa6MiY0a8Pour53d3Zef6eYK5qBYo0d62QyKbc YMpQ== X-Gm-Message-State: AOJu0YyBq5EHDgR8x/0A+s4LB9f9OlBiU6jlYE16v+17qAg4ZcRjRSFH P7Q6G+ghXTASXmJZsAa2kkdF0t1Mv2Q6J2JMRTjqVw== X-Received: by 2002:a05:690c:d87:b0:5a5:7ed:cf80 with SMTP id da7-20020a05690c0d8700b005a507edcf80mr20364608ywb.23.1696939329657; Tue, 10 Oct 2023 05:02:09 -0700 (PDT) MIME-Version: 1.0 References: <20231005030849.11352-2-zev@bewilderbeest.net> In-Reply-To: <20231005030849.11352-2-zev@bewilderbeest.net> From: Linus Walleij Date: Tue, 10 Oct 2023 14:01:58 +0200 Message-ID: Subject: Re: [PATCH v2] pinctrl: aspeed: Allow changing SPI mode from hardware strap defaults To: Zev Weiss Cc: Andrew Jeffery , Joel Stanley , linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 05:03:33 -0700 (PDT) X-Spam-Level: ** On Thu, Oct 5, 2023 at 5:09=E2=80=AFAM Zev Weiss wr= ote: > Some platforms unfortunately have their SPI mode selection bits > strapped incorrectly (such as being configured for passthrough mode > when master mode is in fact the only useful configuration for it) and > thus require correction in software. Add the SPI mode bits to the > GPIO passthrough bits as the exceptions to the read-only rule for the > hardware strap register so that the pinctrl subsystem can be used for > such corrections. > > Signed-off-by: Zev Weiss Patch applied! Yours, Linus Walleij