From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70468355045 for ; Tue, 21 Oct 2025 12:27:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761049625; cv=none; b=mhwQRBOWNvI/On95NwKBAZ5DVN5Rj+R7fV451BzpNKeUQmEmPQsEpe1WC8l5PwsmqxEG0qxFoIzngNNxQHgH0eITUQ4OXQoTEr128TSvzD6cjakZ42wwxZ9WMDGnklpO4MHcyjaQXQQquRiC24pV8GE2//n82kRXHysDQb9Uwew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761049625; c=relaxed/simple; bh=dRItKHoHeP/Luyk8nQVlzb7QSwUwBxc0c3xCNUrv3pc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fEKPnMwAdqmNevFGEizCjRXarOQyio4VMTQNherczKYbi2V+ZbO5BNHFfeoCfszL4R2KCbZU5ysn9iD6ODxwwSnh5N+bwv6sjab/4vPGtcoZ5NNd3utbePwuMTGY8e61/SFSkhTUF6MHwdUn1LiolbwqSxv2FJVwN+blaH7R1s0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=r0/StCo2; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="r0/StCo2" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-57a960fe78fso7170986e87.2 for ; Tue, 21 Oct 2025 05:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761049622; x=1761654422; 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=dRItKHoHeP/Luyk8nQVlzb7QSwUwBxc0c3xCNUrv3pc=; b=r0/StCo2w3u2g1qjxUqJxjSWxI5xD+2jLMCNUc+662zrhY8ojQlsvc87YLoPg9+0mv vGSPc6Mfaf9pIQb0SYY7vnQTqMA+PtHklGv4peBLNWPojybYtB7DZ1GHJK+zto4qW+nk zM4jMCvTfLI8NGdVlaabwuiqyfAc37YBC1ev10xwIMb/9uxOVcxpvHSDeUV2uijW9XBq AWf5vu/jh6UV8nY2PJzJrLzOSVT1AOtQy84LJMidS00cH8TWo5nBp+NAysYtvO+gl+4Z YzG2uhUwyY0caIF87dwG5doNpECRXFJc1Z8/WcL8LDPSeoa781zY/zdm6Mg83S7OL+eK 6laQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761049622; x=1761654422; 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=dRItKHoHeP/Luyk8nQVlzb7QSwUwBxc0c3xCNUrv3pc=; b=T0V05gYSbvwcfb6TXNDkIDc/bS1Lp8ehwBEPqLKaLID4uF6EZ08+icu9Sqy6Vv5Iuj 5M+EzoIH87ChOA8q4DlmTrcaJj2SDwi6ZXjALSVvfou1b+KGRNQQmK3Bge4TvQ7JYG/W J9PEFIU54fby5WBaRKhllFqWAdYX3uLN8PMXEscZaJuycBOhejd0akviV/mKERqBzVNk /Q8U7or4gUHX7BrjDQUTEB7RMwCeCwbB1OI5iXcWRkJZPcKZjdcfLnPI8E0m3m5JhUIL xQe4nj1xdDulCdPhoDo1AQmoTHVn0Rf1MqLgpphfRdiJYYreVCGqoUtfqhiVeu2yVBLm Hicg== X-Forwarded-Encrypted: i=1; AJvYcCUdVjVajnAp3i8Ioea9h0+63giAsmhW4Ies4aDxnbYTeCqcqOzGwZ4WpETx3haPxpGnTnigoyfWn+hI@vger.kernel.org X-Gm-Message-State: AOJu0Yx0vsXL8raynnKCYYUdZNa1O5jijcs0knrSC7YKUR3nyys2b0zR 8710RqfB+PFAbTdKLETGzohIY1vc9JX794GImhEK3GfXAfuljs+/ToEVKUnle/tXEtJOvoULNpY +ru1ahz58+M3NRvCCt1WkiGOuJVBeZsZ7jUUjSTrVwg== X-Gm-Gg: ASbGncu5Io9/iBnjmBS4p7niPUIgXb2xOA26WMIZ7uNjU0sdAeQfG4lRP3L1YCNZfEK W0yJXA/C0+k546t7oLkxbGIFzYS8PCxameGnWazJ+3B/YHR5rGAzHYyaOiRgb4EPcMnt6dO9RLL kPkIObR30ut3vKz2DNCnBTduADjsWCKv3yW2DMg9LUq2IG4WYKpDdml4yZZUAPvBSp9bD4tPJrl ttuXIpo4pO8JJJR7wW7oFsoSESV/ijxo5Vo2WnH774yQCdPZFfIuFxzQmfzVX5ea80jA7Bv0nAY efnUnA== X-Google-Smtp-Source: AGHT+IGxlVJN2rvaLyj+Brv4icN7nCu4VjMGW+HovXJOGOXiS4L6UUAPV/sCXKFATKrxTJyz9wkyawu1OYIvSs1RR4k= X-Received: by 2002:a05:6512:ba1:b0:591:c8d7:c03b with SMTP id 2adb3069b0e04-591d850cf22mr5196408e87.8.1761049621481; Tue, 21 Oct 2025 05:27:01 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20251014140451.1009969-1-antonio.borneo@foss.st.com> <20251014140451.1009969-10-antonio.borneo@foss.st.com> <20251014-affection-voltage-8b1764273a06@spud> <20251015-headstand-impulse-95aa736e7633@spud> <0826a055f6b2e3e6b50a5961e60d1b57d1d596c6.camel@foss.st.com> <9dfdf02b7e5a99c515aff3c6528e2d5f70517201.camel@foss.st.com> In-Reply-To: <9dfdf02b7e5a99c515aff3c6528e2d5f70517201.camel@foss.st.com> From: Linus Walleij Date: Tue, 21 Oct 2025 14:26:50 +0200 X-Gm-Features: AS18NWCW8_rg5qtH2LgaZCS86vARi5jbxP9hbx6C1qjmUJ3MwBUVy8SVIqQU3O4 Message-ID: Subject: Re: [PATCH v3 09/10] dt-bindings: pinctrl: stm32: Support I/O synchronization parameters To: Antonio Borneo Cc: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Bartosz Golaszewski , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Christophe Roullier , Fabien Dessenne , Valentin Caron Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 21, 2025 at 1:49=E2=80=AFPM Antonio Borneo wrote: > The issue is that parse_dt_cfg(), called by the above mentioned pinconf_g= eneric_parse_dt_config(), > only uses of_property_read_u32() to get the value of the property. > Conor's proposal for replacing my > st,io-sync =3D <0>; > with > st,io-sync =3D "pass-through"; > doesn't fit in! > > For my use case I'm going to extend parse_dt_cfg() with fwnode_property_m= atch_property_string() to extract the index from an array of strings. > Then such index would be used for pinconf_to_config_packed(). > Does this approach look reasonable? Aha I see the issue. Hard for me to tell how this will play out since you are the first to try t= his, but it seems like this could work. Let's see how the code looks! Yours, Linus Walleij